-
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
[resolvers] Add avoidCheckingAbstractTypesRecursively
option to support nested defaultMappers
#10141
Conversation
…sively checks and generates abstract nested types
🦋 Changeset detectedLatest commit: ddc58bc 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/visitor-plugin-common |
5.5.0-alpha-20241014102200-ddc58bcd59abae2c907ea72c013c42ae94232b54 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-document-nodes |
4.0.11-alpha-20241014102200-ddc58bcd59abae2c907ea72c013c42ae94232b54 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/gql-tag-operations |
4.0.11-alpha-20241014102200-ddc58bcd59abae2c907ea72c013c42ae94232b54 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-operations |
4.3.1-alpha-20241014102200-ddc58bcd59abae2c907ea72c013c42ae94232b54 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-resolvers |
4.4.0-alpha-20241014102200-ddc58bcd59abae2c907ea72c013c42ae94232b54 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typed-document-node |
5.0.11-alpha-20241014102200-ddc58bcd59abae2c907ea72c013c42ae94232b54 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript |
4.1.1-alpha-20241014102200-ddc58bcd59abae2c907ea72c013c42ae94232b54 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/client-preset |
4.5.0-alpha-20241014102200-ddc58bcd59abae2c907ea72c013c42ae94232b54 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/graphql-modules-preset |
4.0.11-alpha-20241014102200-ddc58bcd59abae2c907ea72c013c42ae94232b54 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/plugin-helpers |
5.1.0-alpha-20241014102200-ddc58bcd59abae2c907ea72c013c42ae94232b54 |
npm ↗︎ unpkg ↗︎ |
💻 Website PreviewThe latest changes are available as preview in: https://48f1ecf8.graphql-code-generator.pages.dev |
Hi, any chance to merge it soon? This is a much-needed feature! |
Description
Related #10084
In #10014, we fixed an issue where nested abstract types were not getting the correct types. This, however, caused existing usage of nested
defaultMapper
to be in an infinite loop.This PR adds
avoidCheckingAbstractTypesRecursively
option to preserve the existingdefaultMapper
behaviours by setting totrue
Type of change
How Has This Been Tested?