Hi!
I'm trying to get this VSCode extension working for a Gatsby site.
I have the results of the introspectionquery stored in schema.json in the root of the project.
Also in the root of the project is a .graphqlconfig.yml that only contains schemaPath: schema.json
Gatsby uses tagged strings for graphQL, but the tag is graphql, not gql like in Apollo.
Syntax highlighting does work.
How should I further configure things to also get the autocomplete suggestions/query validation from this plugin?
To reproduce:
Clone a Gatsby project that uses Graphql. (I tried this on my blog)
Hi! I'm trying to get this VSCode extension working for a Gatsby site. I have the results of the introspectionquery stored in
schema.json
in the root of the project. Also in the root of the project is a.graphqlconfig.yml
that only containsschemaPath: schema.json
Gatsby uses tagged strings for graphQL, but the tag is
graphql
, notgql
like in Apollo. Syntax highlighting does work.How should I further configure things to also get the autocomplete suggestions/query validation from this plugin?
To reproduce:
schema.json
file..graphqlconfig.yml
fileThanks!
edit: Oops, part duplicate of #49.