fix(deps): update dependency @graphql-codegen/visitor-plugin-common to v5 #148
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 contains the following updates:
^4.0.1
->^5.6.1
Release Notes
dotansimha/graphql-code-generator (@graphql-codegen/visitor-plugin-common)
v5.6.1
Compare Source
Patch Changes
#10230
60dd72f
Thanks @eddeee888! - Fix generateInternalResolversIfNeeded.__resolveReference making the resolver required__resolveReference
's default behaviour when not declared is to pass the ref to subsequent resolvers i.e. becoming theparent
. So, it means we don't have to make this resolver required.This patch makes
__resolveReference
optional whengenerateInternalResolversIfNeeded.__resolveReference
is set to true.v5.6.0
Compare Source
Minor Changes
fa64fbf
Thanks @jerelmiller! - Add support for Apollo Client@unmask
directive with fragment masking.Patch Changes
1617e3c
Thanks @gilgardosh! - Fix: type naming for imported enumsv5.5.0
Compare Source
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
]:v5.4.0
Compare Source
Minor Changes
#10077
3f4f546
Thanks @eddeee888! - Extendconfig.avoidOptions
to support query, mutation and subscriptionPreviously,
config.avoidOptions.resolvers
was being used to make query, mutation and subscription fields non-optional.Now,
config.avoidOptions.query
,config.avoidOptions.mutation
andconfig.avoidOptions.subscription
can be used to target the respective types.v5.3.1
Compare Source
Patch Changes
79fee3c
Thanks @eddeee888! - Fix object types with fields being abstract types not pointing to resolver types correctlyv5.3.0
Compare Source
Minor Changes
808ada5
Thanks @eddeee888! - Add generated resolvers map type name to typescript-resolvers plugin metaPatch Changes
14ce39e
Thanks @vhfmag! - Improve code generation performance by computingClientSideBaseVisitor
'sfragmentsGraph
once at instantiation time.v5.2.0
Compare Source
Minor Changes
dfc5310
Thanks @eddeee888! - Update typescript-resolvers to report generated resolver types in the run to meta field in the outputPatch Changes
#9944
156cc2b
Thanks @eddeee888! - Add _ prefix to generatedRefType
inResolversInterfaceTypes
andResolversUnionTypes
as it is sometimes unused#9962
b49457b
Thanks @eddeee888! - Fix interface mappers not working in nested/self-referencing scenariosUpdated dependencies [
dfc5310
]:v5.1.0
Compare Source
Minor Changes
920b443
Thanks @gmurphey! - Added allowUndefinedQueryVariables as config optionPatch Changes
ed9c205
Thanks @henryqdineen! - properly handle aliased conditionalsv5.0.0
Compare Source
Major Changes
53f270a
Thanks @productdevbook! - path starts with "#"v4.1.2
Compare Source
Patch Changes
#9813
4e69568
Thanks @saihaj! - bumping for a releaseUpdated dependencies [
4e69568
]:v4.1.1
Compare Source
Patch Changes
7718a8113
Thanks @maclockard! - Respect avoidOptionals when all arguments are optionalv4.1.0
Compare Source
Minor Changes
d8364e045
Thanks @saihaj! - fix: out-of-memory crash (fixes #7720)perf: implement a caching mechanism that makes sure the type originating at the same location is never generated twice, as long as the combination of selected fields and possible types matches
feat: implement
extractAllFieldsToTypes: boolean
feat: implement
printFieldsOnNewLines: boolean
Patch Changes
#9811
d8364e045
Thanks @saihaj! - dependencies updates:tslib@~2.6.0
↗︎ (from~2.5.0
, independencies
)#9811
d8364e045
Thanks @saihaj! - Avoid reading from null values when selection sets only contain fragments.Updated dependencies [
d8364e045
]:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.