-
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
[typescript-resolvers] Fix resolversNonOptionalTypename for union members in mapper cases #9231
Conversation
🦋 Changeset detectedLatest commit: 6e6076d The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 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 |
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@graphql-codegen/cli |
3.3.0-alpha-20230403114914-6e6076d6c |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/visitor-plugin-common |
3.1.0-alpha-20230403114914-6e6076d6c |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-document-nodes |
3.0.3-alpha-20230403114914-6e6076d6c |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/gql-tag-operations |
3.0.0-alpha-20230403114914-6e6076d6c |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-operations |
3.0.3-alpha-20230403114914-6e6076d6c |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-resolvers |
3.2.0-alpha-20230403114914-6e6076d6c |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typed-document-node |
4.0.0-alpha-20230403114914-6e6076d6c |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript |
3.0.3-alpha-20230403114914-6e6076d6c |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/client-preset |
3.0.0-alpha-20230403114914-6e6076d6c |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/graphql-modules-preset |
3.1.2-alpha-20230403114914-6e6076d6c |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/testing |
2.0.2-alpha-20230403114914-6e6076d6c |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/plugin-helpers |
4.2.0-alpha-20230403114914-6e6076d6c |
npm ↗︎ unpkg ↗︎ |
💻 Website PreviewThe latest changes are available as preview in: https://2597cbee.graphql-code-generator.pages.dev |
Description
This PR fixes
resolversNonOptionalTypename
union member when used in mapper cases:This also adds unit tests for these scenarios.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Checklist: