Skip to content

Conversation

@eddeee888
Copy link
Collaborator

Description

We recently removed a deprecated dedupeFragments config option here.
However, I believe the intention was "to enable it by default, therefore the option is not required" 😅

This PR re-applies the deduping logic, without the need of an option. I've also added a test to demonstrate the behaviour for next time.

Related # #10551

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Unit test

@changeset-bot
Copy link

changeset-bot bot commented Dec 26, 2025

🦋 Changeset detected

Latest commit: 7572bb1

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

This PR includes changesets to release 9 packages
Name Type
@graphql-codegen/typed-document-node Patch
@graphql-codegen/visitor-plugin-common Patch
@graphql-codegen/typescript-document-nodes Patch
@graphql-codegen/gql-tag-operations Patch
@graphql-codegen/typescript-operations Patch
@graphql-codegen/typescript-resolvers Patch
@graphql-codegen/typescript Patch
@graphql-codegen/graphql-modules-preset Patch
@graphql-codegen/client-preset Patch

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

@github-actions
Copy link
Contributor

🚀 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 6.2.3-alpha-20251226140101-7572bb12f904056cb4f4e91c2244e9d893cfd9d2 npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-document-nodes 5.0.8-alpha-20251226140101-7572bb12f904056cb4f4e91c2244e9d893cfd9d2 npm ↗︎ unpkg ↗︎
@graphql-codegen/gql-tag-operations 5.1.3-alpha-20251226140101-7572bb12f904056cb4f4e91c2244e9d893cfd9d2 npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-operations 5.0.8-alpha-20251226140101-7572bb12f904056cb4f4e91c2244e9d893cfd9d2 npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-resolvers 5.1.6-alpha-20251226140101-7572bb12f904056cb4f4e91c2244e9d893cfd9d2 npm ↗︎ unpkg ↗︎
@graphql-codegen/typed-document-node 6.1.6-alpha-20251226140101-7572bb12f904056cb4f4e91c2244e9d893cfd9d2 npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript 5.0.8-alpha-20251226140101-7572bb12f904056cb4f4e91c2244e9d893cfd9d2 npm ↗︎ unpkg ↗︎
@graphql-codegen/client-preset 5.2.3-alpha-20251226140101-7572bb12f904056cb4f4e91c2244e9d893cfd9d2 npm ↗︎ unpkg ↗︎
@graphql-codegen/graphql-modules-preset 5.1.3-alpha-20251226140101-7572bb12f904056cb4f4e91c2244e9d893cfd9d2 npm ↗︎ unpkg ↗︎

@github-actions
Copy link
Contributor

💻 Website Preview

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

@eddeee888 eddeee888 marked this pull request as ready for review December 27, 2025 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants