Closed ChrisW-B closed 2 years ago
I have the same problem, the only difference being I'm using .graphql
files.
Could it be the same issue as mine https://github.com/graphql/vscode-graphql/issues/315?
In my case queries are written in .js
files using graphql-tag
package. However even removing include
or documents
doesn't enable autocomplete.
the issues you are having should be fixed now, let me know if I should re-open
Actual Behavior
If my
.graphqlrc
file looks like the following:I have full working annotations and autocomplete. However, this means that certain linting does not work with https://github.com/dotansimha/graphql-eslint, as some of those require the
documents
field be used rather than the include.This same config
does not surface annotations. With debugging turned on, the only output from vscode-graphql is
Expected Behavior
Annotations and autocomplete should still work
Steps to Reproduce the Problem Or Description
Attempt to edit a
.gql
fileSpecifications
Logs Of TS Server || GraphQL Language Service