dotansimha / dotansimha/graphql-code-generator

Generate separate files - types and operations(query, mutations) from schema

Open
#9,422 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.3k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
23

Description

### Is your feature request related to a problem? Please describe.

Yes, I'm getting the schema and can't change it locally, so I need a generate command that will add 2 new files one for types and the other for operations(GraphQL documents), so I will be able to specify the path in my codegen "documents" config file

### Describe the solution you'd like

A command that will have a schema file as input and will generate 2 files (types, operations)

### Describe alternatives you've considered

using amplify-graphql-docs-generator to get operations from schema

### Is your feature request related to a problem? Please describe.

yes, I can't get typed queries/mutations with codegen

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.