graphql-codegen-typescript-mock-data icon indicating copy to clipboard operation
graphql-codegen-typescript-mock-data copied to clipboard

[GraphQL Codegen Plugin](https://github.com/dotansimha/graphql-code-generator) for building mock data based on the schema.

Results 17 graphql-codegen-typescript-mock-data issues
Sort by recently updated
recently updated
newest added

I've been using this library and I think it's amazing, so thank you for your contribution. I've been having performance problems using it in my project since we have gigantic...

I love the idea behind this plugin - it makes creating mock data for unit tests so much easier! I was having some trouble getting the generator functions to create...

Add a parameter to `aQuery` generated function to pass a query `DocumentNode` object and receive that query response without unnecessary information.

There is a naming mismatch when generating the mock data. For example if you have this enum, it gets resolved as: ```jsx // Enum export enum Sort { createdDate =...

bug

`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

The newly implemented `defaultNullableToNull` option should take precedence over custom Scalar definitions as you cannot define those optionally and are global. As implemented in https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/130 it makes sense for specific...

Hello 👋, First of all, I would like to say thank you for writing **and** open-sourcing such an amazing plugin; I am so glad to have come across this library,...

enhancement

Hi got a question. Is it possible or maybe a future feature to add GeneratorOptions based on the key name? for example if I have an type type User {...

Hi, our settings file goes like this ``` overwrite: true schema: "http://localhost:3000/graphql" generates: constants/mocks/index.ts: plugins: - typescript-mock-data: typesFile: "../../types" enumValues: upper-case#upperCase typeNames: change-case-all#pascalCase typesPrefix: "I" prefix: "Mock" addTypename: true generateLibrary:...

bug

Bumps [ws](https://github.com/websockets/ws) from 7.5.7 to 7.5.10. Release notes Sourced from ws's releases. 7.5.10 Bug fixes Backported e55e5106 to the 7.x release line (22c28763). 7.5.9 Bug fixes Backported bc8bd34e to the...

dependencies