Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

inside GatsbyJS #51

Closed
NickyMeuleman opened this issue Jul 9, 2018 · 1 comment
Closed

inside GatsbyJS #51

NickyMeuleman opened this issue Jul 9, 2018 · 1 comment

Comments

@NickyMeuleman
Copy link

NickyMeuleman commented Jul 9, 2018

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:

Thanks!

edit: Oops, part duplicate of #49.

@divyenduz
Copy link
Collaborator

Closing as duplicate of #49

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants