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
The LSP returns an error when the documents are absent in the config, although documents is optional.
[WARN][2025-05-05 20:38:48] ...lsp/handlers.lua:564 "No 'documents' config found for project: default.\nFragments and query documents cannot be detected.\nLSP server will only perform some partial validation and SDL features."
[ERROR][2025-05-05 20:38:48] ...lsp/handlers.lua:562 "WARNING: graphql-config error, only highlighting is enabled:\nThe type of Mutation.doFoo(bar:) must be Input Type but got: [Bar]!.\n\nThe type of Query.getFoo(fooFilter:) must be Input Type but got: PlanningCycleFilter.\n\nThe type of Query.getFoo(barFilter:) must be Input Type but got: BarFilter.\nfor more information on using 'graphql-config' with 'graphql-language-service-server', \nsee the documentation at https://www.npmjs.com/package/graphql-language-service-server#user-content-graphql-configuration-file"
Expected Behavior
No response
Steps To Reproduce
No response
Environment
GraphiQL Version:
OS:
Browser:
Bundler:
react Version:
graphql Version:
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
The LSP returns an error when the documents are absent in the config, although documents is optional.
Expected Behavior
No response
Steps To Reproduce
No response
Environment
react
Version:graphql
Version:Anything else?
No response
The text was updated successfully, but these errors were encountered: