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
134 stars 47 forks source link

fix: add __typename property #6

Closed ardeois closed 4 years ago

ardeois commented 4 years ago

Add __typename property to mock data. This can be added if you set in the config addTypename: true