Closed vitosamson closed 4 years ago
graphql/graphiql#2347 might be a duplicate of this, and might be why you are having this issue
closing this as a dupe of graphql/graphiql#2347
please track the fix in the impacted repository here! https://github.com/graphql/graphiql/issues/1655
I'm not sure this is an exact duplicate of graphql/graphiql#2347 but I don't know enough about the internals here so maybe they're connected.
Even in the first project, language features only partially work – incorrect fields are properly reported as errors but intellisense doesn't work.
hey i overlooked something!
please update to graphql-config@3 format if you can. see the readme. you are still using schemaPath
it looks like, instead of schema
pointer(s)
after that, can you discuss any further bugs here where the LSP server lives? https://github.com/graphql/graphiql/issues/1655
I just tried it again with schema
instead of schemaPath
, but it's still showing the same issues. It looks like everything else is correct for the graphql-config@3 format. I also tried removing the extension
field from each project just to narrow it down a bit, and that didn't help either.
ok! sounds like an LSP issue then. closing this for graphql/graphiql#1655
Actual Behavior
Since updating to v0.3 of the extension, intellisense has stopped working. Interestingly, "Execute Query" still works, and error reporting works for incorrect fields (in one project, but not the others – there are three projects with separate schemas), but I can't get any intellisense or autocompletion.
I'm pretty sure I've correctly updated my config to what v0.3 expects:
graphql.config.yml
This config works exactly as expected in the last v0.2 release.
Further, looking at the language server logs, when I open a
consumer
project document, it seems to be incorrectly reporting it as being in theadmin
project and therefore gives incorrect errors about fields/queries not being present:Expected Behavior
Intellisense and multiple projects should work.
Steps to Reproduce the Problem Or Description
Upgrade to v0.3, unsure beyond that.
Specifications
Logs Of TS Server || GraphQL Language Service