You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a fragment that's not defined, the language server correctly reports the error:
however, after saving the file, the error disappears:
This seems to be due to the fact that when a file is modified, we call getDiagnostics with only two arguments (and isRelayCompatMode defaults to false):
When using a fragment that's not defined, the language server correctly reports the error:
however, after saving the file, the error disappears:
This seems to be due to the fact that when a file is modified, we call
getDiagnostics
with only two arguments (andisRelayCompatMode
defaults to false):graphiql/packages/graphql-language-service-server/src/MessageProcessor.ts
Line 368 in 94f7344
while when a file is saved, we call
getDiagnostics
with three arguments, and for some reason we invert the value ofisRelayCompatMode
:graphiql/packages/graphql-language-service-server/src/MessageProcessor.ts
Lines 293 to 297 in 94f7344
The text was updated successfully, but these errors were encountered: