-
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
Next major version feature branch #10218
base: master
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 1b7cbef 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://90606ec8.graphql-code-generator.pages.dev |
b3a8241
to
f5116a7
Compare
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@graphql-codegen/cli |
5.0.5-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/core |
4.0.3-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/add |
5.0.4-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/fragment-matcher |
5.1.0-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/introspection |
4.0.4-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/schema-ast |
4.1.1-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/time |
5.0.2-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/visitor-plugin-common |
6.0.0-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-document-nodes |
4.0.14-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/gql-tag-operations |
4.0.15-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-operations |
4.4.2-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-resolvers |
5.0.0-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typed-document-node |
5.0.14-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript |
4.1.4-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/client-preset |
4.6.2-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/graphql-modules-preset |
4.0.14-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/testing |
3.0.5-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/plugin-helpers |
6.0.0-alpha-20250202125702-1b7cbef6b28bbd45d83b2facfa30c263cc369044 |
npm ↗︎ unpkg ↗︎ |
aa191e7
to
dd2b0bd
Compare
fae60df
to
a28e145
Compare
… type for reference (#10216)
…face` entities, fix Interface types having non-meta resolver fields (#10221) * Add __resolveReference for applicable Interfaces - Deprecate generateInternalResolversIfNeeded.__resolveReference - Fix tests - Deprecate onlyResolveTypeForInterfaces - Add changeset - Cleanup - Handle __resolveReference generation in Interface - Let FieldDefinition decide whether to generate __resolveReference by checking whether parent has resolvable key * Fix test
fd51b95
to
56fea45
Compare
Related: #10206
__resolveReference
to applicableInterface
entities, fix Interface types having non-meta resolver fields #10221Breaking 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.