Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@graphql-codegen/visitor-plugin-common@5.5.0
Minor Changes
#9989
55a1e9e
Thanks @eddeee888! - AddgenerateInternalResolversIfNeeded
optionThis option can be used to generate more correct types for internal resolvers. For example, only generate
__resolveReference
if the federation object has a resolvable@key
.In the future, this option can be extended to support other internal resolvers e.g.
__isTypeOf
is only generated for implementing types and union members.#10141
a235051
Thanks @eddeee888! - Add avoidCheckingAbstractTypesRecursively to avoid checking and generating abstract types recursivelyFor users that already sets recursive default mappers e.g.
Partial<{T}>
orDeepPartial<{T}>
, having both options on will cause a nested loop which eventually crashes Codegen. In such case, settingavoidCheckingAbstractTypesRecursively: true
allows users to continue to use recursive default mappers as before.Patch Changes
55a1e9e
]:@graphql-codegen/typescript-resolvers@4.4.0
Minor Changes
#9989
55a1e9e
Thanks @eddeee888! - AddgenerateInternalResolversIfNeeded
optionThis option can be used to generate more correct types for internal resolvers. For example, only generate
__resolveReference
if the federation object has a resolvable@key
.In the future, this option can be extended to support other internal resolvers e.g.
__isTypeOf
is only generated for implementing types and union members.#10141
a235051
Thanks @eddeee888! - Add avoidCheckingAbstractTypesRecursively to avoid checking and generating abstract types recursivelyFor users that already sets recursive default mappers e.g.
Partial<{T}>
orDeepPartial<{T}>
, having both options on will cause a nested loop which eventually crashes Codegen. In such case, settingavoidCheckingAbstractTypesRecursively: true
allows users to continue to use recursive default mappers as before.Patch Changes
55a1e9e
,a235051
]:@graphql-codegen/client-preset@4.5.0
Minor Changes
3fd4486
Thanks @wxt2005! - foward skipTypeNameForRoot to client-presetPatch Changes
#10182
effd875
Thanks @eddeee888! - Revert slimmer client preset outputUpdated dependencies [
55a1e9e
,a235051
,c7af639
]:@graphql-codegen/plugin-helpers@5.1.0
Minor Changes
#9989
55a1e9e
Thanks @eddeee888! - AddgenerateInternalResolversIfNeeded
optionThis option can be used to generate more correct types for internal resolvers. For example, only generate
__resolveReference
if the federation object has a resolvable@key
.In the future, this option can be extended to support other internal resolvers e.g.
__isTypeOf
is only generated for implementing types and union members.@graphql-codegen/typescript-document-nodes@4.0.11
Patch Changes
55a1e9e
,a235051
]:@graphql-codegen/gql-tag-operations@4.0.11
Patch Changes
55a1e9e
,a235051
]:@graphql-codegen/typescript-operations@4.3.1
Patch Changes
55a1e9e
,a235051
]:@graphql-codegen/typed-document-node@5.0.11
Patch Changes
#10160
c7af639
Thanks @jyasskin! - Allow explicitundefined
in additional to optional argumentsUpdated dependencies [
55a1e9e
,a235051
]:@graphql-codegen/typescript@4.1.1
Patch Changes
55a1e9e
,a235051
]:@graphql-codegen/graphql-modules-preset@4.0.11
Patch Changes
55a1e9e
,a235051
]: