-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Validate graphql-config
using vscode-graphql
and the available schema json
#2606
Comments
CC @dotansimha , @dotansimha and @kamilkisiela! this is a quick easy win I have planned, just so it's on your radar |
CC @dotansimha and @dotansimha |
I was thinking of even suggesting it as a standalone extension. Then folks can use it without |
CC @B2o5T as well of course haha! |
perhaps there could be a thin client to a say, as you may know, we have a another thing to consider is that we have extensions that want to load graphql for query exection/etc, and many more in userland who are looking to load graphql-config, so we could make a shared interface for that that wraps |
also noting this is only for .json, but here is one lead for https://github.com/redhat-developer/vscode-yaml#extension-settings there are ways we could also just handle actual |
This is just a few lines of code!
https://raw.githubusercontent.com/kamilkisiela/graphql-config/master/config-schema.json
https://code.visualstudio.com/Docs/languages/json#_mapping-a-schema-in-an-extension
I feel like if I write anything more about it, I'll officially have had spent more time planning this than implementing it as usual 😆
The text was updated successfully, but these errors were encountered: