Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(gql): download schema #452

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gorillamoe
Copy link

Add a command to download a graphql schema.

The schema file is named after the buffer name,
without the .http extension with the suffix
.graphql-schema.json.

So if the name of the current buffer is test.http, the downloaded schema file would be named
test.graphql-schema.json.

Once such a schema file has been downloaded,
you can have autocompletions via kulala-cmp-graphql.nvim.

TODO: make the introspection query a dedicated file.

Closes #448

Add a command to download a graphql schema.

The schema file is named after the buffer name,
without the .http extension with the suffix
.graphql-schema.json.

So if the name of the current buffer is `test.http`,
the downloaded schema file would be named
`test.graphql-schema.json`.

Once such a schema file has been downloaded,
you can have autocompletions via kulala-cmp-graphql.nvim.

TODO: make the introspection query a dedicated file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: GraphQL CMP Support
1 participant