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

use json schema for hive.json #3010

Open
n1ru4l opened this issue Oct 6, 2023 · 0 comments
Open

use json schema for hive.json #3010

n1ru4l opened this issue Oct 6, 2023 · 0 comments
Labels
enhancement New feature or request that adds new things or value to Hive good first issue Good for newcomers help wanted Extra attention is needed

Comments

@n1ru4l
Copy link
Collaborator

n1ru4l commented Oct 6, 2023

We can declare a JSON schema for the hive.json file and also expose it via HTTP so that people can reference it via the $schema property, for better IDE support.

CLI docs: https://the-guild.dev/graphql/hive/docs/api-reference/cli
CLI commands that reference hive.json keys: https://github.com/kamilkisiela/graphql-hive/blob/5bef13b15e05b639c76ea7d847045d017a12c8a7/packages/libraries/cli/src/commands
Example config file: https://github.com/kamilkisiela/graphql-hive/blob/7fafb0774fab3feefbf40c06855d8a9041b0e55a/packages/libraries/cli/hive.json

@n1ru4l n1ru4l added good first issue Good for newcomers help wanted Extra attention is needed labels Oct 6, 2023
@n1ru4l n1ru4l added the enhancement New feature or request that adds new things or value to Hive label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request that adds new things or value to Hive good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant