graphql-code-generator icon indicating copy to clipboard operation
graphql-code-generator copied to clipboard

Forward `extractAllFieldsToTypes` option for client preset

Open eddeee888 opened this issue 1 year ago • 3 comments

Description

https://github.com/dotansimha/graphql-code-generator/pull/9705 added extractAllFieldsToTypes to improve perf significantly on large codebases by extracting and reusing types. This PR forwards the option to client-preset

Type of change

  • [x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • [x] Unit test
  • [ ] Alpha release + test

eddeee888 avatar Nov 17 '24 21:11 eddeee888

🦋 Changeset detected

Latest commit: 944ad4c5a837bce70cc27bcd0747edc68834585b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@graphql-codegen/client-preset Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Nov 17 '24 21:11 changeset-bot[bot]

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-codegen/visitor-plugin-common 5.6.0-alpha-20241117214415-944ad4c5a837bce70cc27bcd0747edc68834585b npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-document-nodes 4.0.12-alpha-20241117214415-944ad4c5a837bce70cc27bcd0747edc68834585b npm ↗︎ unpkg ↗︎
@graphql-codegen/gql-tag-operations 4.0.12-alpha-20241117214415-944ad4c5a837bce70cc27bcd0747edc68834585b npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-operations 4.4.0-alpha-20241117214415-944ad4c5a837bce70cc27bcd0747edc68834585b npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-resolvers 4.4.1-alpha-20241117214415-944ad4c5a837bce70cc27bcd0747edc68834585b npm ↗︎ unpkg ↗︎
@graphql-codegen/typed-document-node 5.0.12-alpha-20241117214415-944ad4c5a837bce70cc27bcd0747edc68834585b npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript 4.1.2-alpha-20241117214415-944ad4c5a837bce70cc27bcd0747edc68834585b npm ↗︎ unpkg ↗︎
@graphql-codegen/client-preset 4.6.0-alpha-20241117214415-944ad4c5a837bce70cc27bcd0747edc68834585b npm ↗︎ unpkg ↗︎
@graphql-codegen/graphql-modules-preset 4.0.12-alpha-20241117214415-944ad4c5a837bce70cc27bcd0747edc68834585b npm ↗︎ unpkg ↗︎

github-actions[bot] avatar Nov 17 '24 21:11 github-actions[bot]

💻 Website Preview

The latest changes are available as preview in: https://d38673f6.graphql-code-generator.pages.dev

github-actions[bot] avatar Nov 17 '24 21:11 github-actions[bot]