Skip to content

Conversation

@eddeee888
Copy link
Collaborator

@eddeee888 eddeee888 commented Nov 7, 2025

This is the feature branch for #10479

Checklist

typescript-operations

  • [typescript-operations] Generate Exact into target file #10504 @eddeee888
  • Generate used Input into target file without Scalars or InputMaybe @ikusakov2
  • Generate used Enum into target file @eddeee888
    • Create new enum modes, defaulting to type(?) whilst supporting existing enum approaches
  • Add sharedTypesOnly to only generate Input and Enum into target file
  • Add importSchemaTypesFrom to import Input and Enum from declared file, and use the imported types in Variables and Result types

client-preset

  • Wire things up and ensure compatibility

Verify fixes

@changeset-bot
Copy link

changeset-bot bot commented Nov 7, 2025

🦋 Changeset detected

Latest commit: 72e57ec

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

This PR includes changesets to release 5 packages
Name Type
@graphql-codegen/typescript-operations Major
@graphql-codegen/typescript Major
@graphql-codegen/client-preset Major
@graphql-codegen/typescript-resolvers Patch
@graphql-codegen/cli 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

github-actions bot commented Nov 7, 2025

🚀 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/cli 6.0.3-alpha-20251115121823-72e57eca5d8e2e6ae9a642532cf4c41692466f7c npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-operations 6.0.0-alpha-20251115121823-72e57eca5d8e2e6ae9a642532cf4c41692466f7c npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-resolvers 5.1.3-alpha-20251115121823-72e57eca5d8e2e6ae9a642532cf4c41692466f7c npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript 6.0.0-alpha-20251115121823-72e57eca5d8e2e6ae9a642532cf4c41692466f7c npm ↗︎ unpkg ↗︎
@graphql-codegen/client-preset 6.0.0-alpha-20251115121823-72e57eca5d8e2e6ae9a642532cf4c41692466f7c npm ↗︎ unpkg ↗︎

eddeee888 and others added 2 commits November 15, 2025 22:48
* Create standalone test

* Add Exact and set up test

* Remove Exact from typescript plugin

* Update tests that switch out Exact

* Update dev tests

* Add changeset

* Update test

* Add InputMaybe Scalars tests

* Fix schema in test

* Fix up examples tests

* Add result enum example
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