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

fix: add support for custom scalar #19

Closed ardeois closed 4 years ago

ardeois commented 4 years ago

We only supported Date scalars, but they can be more. As we don't know the type of scalars, the easy way is to represent it as a string.

We could improve the support of custom scalar types through a config, but let's see that later

Fixes #17