[lsp-server] [vscode-graphql] The language server should go into no-op mode when package.json
is detected but doesn't contain graphql config
#2820
Labels
package.json
is detected but doesn't contain graphql config
#2820
Current Behavior (if applicable)
Currently, if
package.json
is present but no graphql config is present, the server will keep attempting to load the config on every change, and throwing a warning.We want
vscode-graphql
to only load when graphql config is present, butpackage.json
graphql
config option as of 2.x or 3.x makes that difficult.Desired Behavior
The LSP server should learn that
graphql-config
is not present forpackage.json
and not try to load the config on every file change, and enter the no config present state where the server ignores events.Perhaps we can even exit 0, so that the LSP server quits without the 5x attempted reloads, until an activation event triggers it again.
The text was updated successfully, but these errors were encountered: