github graphql/graphiql graphql-language-service-server@3.0.2

one hour ago

Patch Changes

  • #4617 e6c67f6 Thanks @lazerg! - Bind the textDocument/didClose handler to the message processor. It was passed as an unbound method, so every file close failed with Cannot read properties of undefined (reading '_isInitialized') and closed documents were never removed from the cache.

  • #4618 7c7baaa Thanks @lazerg! - Pass the project through when caching schema files, so their object types are indexed under the project that declared them. Previously the project was looked up again by file path, which could pick the first project in a multi-project config or fail with doesn't match any project.

  • #4619 ec1e270 Thanks @lazerg! - Run only one cache initialization at a time while the server starts. File events that arrive before initialization finishes now wait for the in-flight run instead of starting another one, which replaced the cache several times and made go-to-definition unreliable until the last run finished.

Don't miss a new graphiql release

NewReleases is sending notifications on new releases.