-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug with lsp server crashing on graphql config errors
Aims to resolve #2421 - graphql config errors only log to output channel, no longer crash the LSP - more performant LSP request no-ops for failing/missing config this used to fail silently in the output channel, but vscode introduced a new retry and notification for this would like to provide more helpful graphql config DX in the future but this should be better for now
- Loading branch information
Showing
7 changed files
with
160 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
'graphql-language-service-server': patch | ||
'vscode-graphql': patch | ||
--- | ||
|
||
Aims to resolve #2421 | ||
|
||
- graphql config errors only log to output channel, no longer crash the LSP | ||
- more performant LSP request no-ops for failing/missing config | ||
|
||
this used to fail silently in the output channel, but vscode introduced a new retry and notification for this | ||
|
||
would like to provide more helpful graphql config DX in the future but this should be better for now |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"npm.packageManager": "yarn" | ||
"npm.packageManager": "yarn", | ||
"cSpell.words": ["graphqlrc"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters