-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Federation feature branch #10218
base: master
Are you sure you want to change the base?
Federation feature branch #10218
Conversation
🦋 Changeset detectedLatest commit: e39b555 The changes in this PR will be included in the next version bump. This PR includes changesets to release 18 packages
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 |
💻 Website PreviewThe latest changes are available as preview in: https://bc4df235.graphql-code-generator.pages.dev |
b3a8241
to
f5116a7
Compare
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@graphql-codegen/cli |
5.0.4-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/core |
4.0.3-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/add |
5.0.4-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/fragment-matcher |
5.0.3-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/introspection |
4.0.4-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/schema-ast |
4.1.1-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/time |
5.0.2-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/visitor-plugin-common |
6.0.0-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-document-nodes |
4.0.13-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/gql-tag-operations |
4.0.13-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-operations |
4.4.1-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-resolvers |
5.0.0-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typed-document-node |
5.0.13-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript |
4.1.3-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/client-preset |
4.6.0-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/graphql-modules-preset |
4.0.13-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/testing |
3.0.5-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/plugin-helpers |
6.0.0-alpha-20250118084248-e39b555af19f253f2b83ec46247f38c512679616 |
npm ↗︎ unpkg ↗︎ |
… type for reference (#10216) * Fix reference being assigned mappers incorrectly * Add test for federation mappers usage in reference * Add changeset * Remove extraneous UnwrappedObject type * Change to major because it may break existing use cases * Run CI on federation-fixes feature branch * Update dev tests * Clean up tests
aa191e7
to
dd2b0bd
Compare
This reverts commit 3286feb.
Related: #10206
Breaking Changes
UnwrappedObject
utility type, as this was used to support the wrong previously generated type.onlyResolveTypeForInterfaces
because majority of use cases cannot implement resolvers in Interfaces.generateInternalResolversIfNeeded.__resolveReference
because types do not have__resolveReference
if they are not Federation entities or are not resolvable. Users should not have to manually set this option. This option was put in to wait for this major version.