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

Support faker for custom scalars #97

Closed ardeois closed 1 year ago

ardeois commented 1 year ago

scalars option allows to use custom generator function from casual

Now we have generateLibrary supporting faker, we should allow custom generator functions from faker as well

MH4GF commented 1 year ago

memo:


This is an interface similar to casual 🤔 : address.country => faker["address"]["country"]()

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.