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

Feature Request: Comments in Schema.graphql #305

Open
Simon0x opened this issue Oct 29, 2024 · 1 comment
Open

Feature Request: Comments in Schema.graphql #305

Simon0x opened this issue Oct 29, 2024 · 1 comment
Labels
Enhancement New feature or request

Comments

@Simon0x
Copy link

Simon0x commented Oct 29, 2024

Hey Envio team,

I'd like to request to have the possibility of defining comments in the schema.graphql file and that they are exported for the playground as well as endpoint that serves the schema. This would also help with frontend tooling like code generators that generate the typescript bindings for React for example based on this.

Hasura seems to have actually a section related to comments: https://hasura.io/learn/graphql/intro-graphql/core-concepts/graphql-comments/

How TheGraph is handling it: https://thegraph.com/docs/en/developing/creating-a-subgraph/#adding-comments-to-the-schema

Regards,
Simon

@DenhamPreen
Copy link
Contributor

Thanks Simon 🙏. Definitely a nice feature.

@DenhamPreen DenhamPreen added the Enhancement New feature or request label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants