Closed eddeee888 closed 6 days ago
Latest commit: 1cb8fe58c02ee2f0d15d19961cce38129691fc6d
The changes in this PR will be included in the next version bump.
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
alpha
)The latest changes of this PR are available as alpha on npm (based on the declared changesets ): |
Package | Version | Info |
---|---|---|---|
@graphql-codegen/visitor-plugin-common |
5.3.1-alpha-20240702080245-1cb8fe58c02ee2f0d15d19961cce38129691fc6d |
npm ↗︎ unpkg ↗︎ | |
@graphql-codegen/typescript-document-nodes |
4.0.9-alpha-20240702080245-1cb8fe58c02ee2f0d15d19961cce38129691fc6d |
npm ↗︎ unpkg ↗︎ | |
@graphql-codegen/gql-tag-operations |
4.0.9-alpha-20240702080245-1cb8fe58c02ee2f0d15d19961cce38129691fc6d |
npm ↗︎ unpkg ↗︎ | |
@graphql-codegen/typescript-operations |
4.2.3-alpha-20240702080245-1cb8fe58c02ee2f0d15d19961cce38129691fc6d |
npm ↗︎ unpkg ↗︎ | |
@graphql-codegen/typescript-resolvers |
4.2.1-alpha-20240702080245-1cb8fe58c02ee2f0d15d19961cce38129691fc6d |
npm ↗︎ unpkg ↗︎ | |
@graphql-codegen/typed-document-node |
5.0.9-alpha-20240702080245-1cb8fe58c02ee2f0d15d19961cce38129691fc6d |
npm ↗︎ unpkg ↗︎ | |
@graphql-codegen/typescript |
4.0.9-alpha-20240702080245-1cb8fe58c02ee2f0d15d19961cce38129691fc6d |
npm ↗︎ unpkg ↗︎ | |
@graphql-codegen/client-preset |
4.3.2-alpha-20240702080245-1cb8fe58c02ee2f0d15d19961cce38129691fc6d |
npm ↗︎ unpkg ↗︎ | |
@graphql-codegen/graphql-modules-preset |
4.0.9-alpha-20240702080245-1cb8fe58c02ee2f0d15d19961cce38129691fc6d |
npm ↗︎ unpkg ↗︎ |
Description
This PR fixes a scenario where abstract types are not pointing to generated resolvers type correctly:
In said case, the object type B must use generated resolver types, otherwise, it may have type conflicts
Related https://github.com/dotansimha/graphql-code-generator/issues/10004
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration