Plugin to generate GQL file for the schema #8225
-
Hello, |
Beta Was this translation helpful? Give feedback.
Answered by
charlypoly
Aug 11, 2022
Replies: 1 comment 1 reply
-
Hi @alamothe, The # …
schema:
- 'http://localhost:3000/graphql'
- './src/**/*.graphql'
- 'scalar MyCustomScalar'
generates:
path/to/file.graphql:
plugins:
- schema-ast Is it what you are looking for? 👀 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
alamothe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @alamothe,
The
@graphql-codegen/schema-ast
plugin will generate aschema.graphql
file from a schema, with the example configuration:Is it what you are looking for? 👀