graphql-kit / graphql-faker

🎲 Mock or extend your GraphQL API with faked data. No coding required.
MIT License
2.69k stars 225 forks source link

Support alternate way to provide examples #66

Open richard-ejem opened 5 years ago

richard-ejem commented 5 years ago

Current style of providing example values through annotations have some serious limitations:

A programmatical way of providing examples or generating fake data using some constraints would be very useful. Or, isn't there some undocumented way how to do that with current version?

smeevil commented 4 years ago

I second this as we use graphql-code-gen to generate our schema and types.