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

Add special handling of schema.graphql files #574

Open
lemonmade opened this issue Jul 11, 2023 · 0 comments
Open

Add special handling of schema.graphql files #574

lemonmade opened this issue Jul 11, 2023 · 0 comments

Comments

@lemonmade
Copy link
Owner

Would be great to be able to import from a schema.graphql/ X.schema.graphql file, and automatically get:

  • An export with the source of the schema
  • An export of the GraphQL schema (maybe?)
  • An export of the types in the schema

Today, we have some ok-ish stuff that exports the types of the schema and the source, but you have to designate a custom .ts file to export to, so you don't import from the actual .graphql file.

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

No branches or pull requests

1 participant