graphql-codegen-factories icon indicating copy to clipboard operation
graphql-codegen-factories copied to clipboard

Generate factories from a GraphQL schema and operations to mock data.

Results 13 graphql-codegen-factories issues
Sort by recently updated
recently updated
newest added

With plugins as: ```javascript plugins: [ 'typescript', 'typescript-operations', 'typescript-urql', 'graphql-codegen-factories/schema', 'graphql-codegen-factories/operations', ], ``` I get this error message [FAILED] this.schema.getRootType is not a function

This PR updates the dependencies.

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.12 to 8.4.31. Release notes Sourced from postcss's releases. 8.4.31 Fixed \r parsing to fix CVE-2023-44270. 8.4.30 Improved source map performance (by @​romainmenke). 8.4.29 Fixed Node#source.offset (by...

dependencies

Bumps [graphql](https://github.com/graphql/graphql-js) from 16.3.0 to 16.8.1. Release notes Sourced from graphql's releases. v16.8.1 (2023-09-19) Bug Fix 🐞 #3967 OverlappingFieldsCanBeMergedRule: Fix performance degradation (@​AaronMoat) Committers: 1 Aaron Moat(@​AaronMoat) v16.8.0 (2023-08-14) New...

dependencies

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @​mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @​OlafConijn in...

dependencies

Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. Release notes Sourced from semver's releases. v5.7.2 5.7.2 (2023-07-10) Bug Fixes 2f8fd41 #585 better handling of whitespace (#585) (@​joaomoreno, @​lukekarrys) Changelog Sourced from semver's...

dependencies

Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3. Release notes Sourced from tough-cookie's releases. 4.1.3 Security fix for Prototype Pollution discovery in #282. This is a minor release, although output from the...

dependencies

From https://github.com/zhouzi/graphql-codegen-factories/pull/63#pullrequestreview-1233353880: > What do you think about not adding the optional properties at all by default? By default the TypeScript plugins set the properties to `title?: Maybe` and have...

enhancement

It would be great to add a readme to the examples to explain how they work. These readmes could then be automatically copied to a `docs/docs/examples/` folder when building the...

documentation

Let's say I have a GraphQL schema like below: ```graphql type ProductCategory { parent_category: ProductCategory } ``` And this generates mock function like below: ```ts export function createProductCategoryMock(props: Partial =...

documentation