ardeois / graphql-codegen-typescript-mock-data

[GraphQL Codegen Plugin](https://github.com/dotansimha/graphql-code-generator) for building mock data based on the schema.
MIT License
132 stars 47 forks source link

feat: add filter config #159

Open charlieforward9 opened 1 month ago

charlieforward9 commented 1 month ago

This filter config enables generating mock data for a subset of the schema to avoid codegen errors.

EDIT: Reviewing this documentation, some additional lines may need to be added. I would also like to prevent it from importing these types, and not mock the Query and Mutation objects either.

Closes #160