-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update dependency @eddeee888/gcg-typescript-resolver-files to v0.12.0 #132
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/eddeee888-gcg-typescript-resolver-files-0.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update dependency @eddeee888/gcg-typescript-resolver-files to v0.12.0 #132
renovate
wants to merge
1
commit into
master
from
renovate/eddeee888-gcg-typescript-resolver-files-0.x
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3676d1e
to
4a487f2
Compare
4a487f2
to
53ada8f
Compare
53ada8f
to
7252e35
Compare
7252e35
to
02fa8a0
Compare
02fa8a0
to
413454f
Compare
413454f
to
56fc5de
Compare
56fc5de
to
26f993e
Compare
26f993e
to
e56b74c
Compare
e56b74c
to
d54fc91
Compare
1f7a6d7
to
1a76f5e
Compare
1a76f5e
to
66d5fb1
Compare
66d5fb1
to
8240717
Compare
8240717
to
e0fcd1d
Compare
e0fcd1d
to
9552ebb
Compare
9552ebb
to
d6cd097
Compare
d6cd097
to
41c05af
Compare
41c05af
to
a55d815
Compare
a55d815
to
6db684e
Compare
6db684e
to
13666b6
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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:
0.4.0
->0.12.0
Release Notes
eddeee888/graphql-code-generator-plugins (@eddeee888/gcg-typescript-resolver-files)
v0.12.0
Compare Source
Minor Changes
e84fb01
: Add mappersRelativeTargetDir config optionstring
(Default:./
)By default, mappers must be siblings with the schema they represent. For example, if the schema file is
/path/to/schema.graphql
, the mapper file is/path/to/schema.mappers.ts
. This extension allows mappers to reside in a different directory relative to the schema file using the pattern<schemaPath>/<mappersRelativeTargetDir>/<schemaName><mappersFileExtension>
.221c671
: Add moduleNamingMode option to determine the module name for each schema filelast
: The module name is derived from the last directory (within the schema directory) in the file's path.first
: The module name is derived from the first directory (within the schema directory) in the file's path.Patch Changes
19e1f03
: Fix __resolveReference being required all the timeb4c501c
: Update internals to use faster approach to run static analysisdf77f2e
: Fix issue generated type names with custom naming convention breaks mappers static analysis19e1f03
]v0.11.0
Compare Source
Minor Changes
9b45bf3
: Use @graphql-codegen/typescript-resolvers meta to handle federation__resolveType9b45bf3
: Do not add files on filesystem that have not been touched by codemodPatch Changes
9b45bf3
: Do not report namingConvention usage as it is fully supportedv0.10.4
Compare Source
Patch Changes
7f281c9
: Fix scalarOverrides not giving full control to usersv0.10.3
Compare Source
Patch Changes
de78270
: Ensure __isTypeOf is in the picked properties so users can choose this way to handle abstract type should they choosev0.10.2
Compare Source
Patch Changes
9088222
: Fix interface mappers not being detected automaticallyv0.10.1
Compare Source
Patch Changes
906d454
: Bump @graphql-codegen/typescript-resolvers to v4.2.1bb9b5fe
: Use @graphql-tools/merge to merge typeDefs906d454
]v0.10.0
Compare Source
Minor Changes
8ec553b
: Handle enum resolverGeneration, autowireup and mapper. Enable enum resolvers generation by default.8ec553b
: Use reported generated type names from @graphql-codegen/typescript-resolvers meta to support all naming convention8ec553b
: AddfixObjectTypeResolvers.enum = smart
option to ensure all allowedValues are generated8ec553b
: Fully support namingConvention for resolvers mapv0.9.4
Compare Source
Patch Changes
b734d8b
: Revert VariableStatement assumption that can cause runtime errorsv0.9.3
Compare Source
Patch Changes
386bb30
: Fix issue where variable statements without type node does not get type node added6715a49
: Prefer detected scalar file on filesystem over scalar modules when wiring up resolvers map86babc6
: Fix issue where GraphQLScalarType is imported all the time, regardless of whether it's usedv0.9.2
Compare Source
Patch Changes
538eb24
: Fix issue where whitelisted/blacklisted module can incorrectly detect extended resolvers to wire up to resolvers.generated.ts263604f
: Fix externalResolvers config not working for enumsv0.9.1
Compare Source
Patch Changes
e999093
: Add hooks to defineConfig contextv0.9.0
Compare Source
Minor Changes
454d1df
: Add resolverGeneration 'minimal' modeminimal
is the equivalent of:454d1df
: Implement file auto-wireup if detected at the right filesystem locationPatch Changes
c48e8c6
: Update internals to avoid parsing schema twicev0.8.1
Compare Source
Patch Changes
3213b73
: Bump base codegen plugin to apply patches from upstreamd6df63c
: Force generate object types with mappers to avoid runtime errors3213b73
]v0.8.0
Compare Source
Minor Changes
6bf957d
: ExtendresolverGeneration
functionalityAllow passing in an object that to control which files to be generated. By default (i.e.
resolverGeneration: 'recommended'
), it's equivalent to the following settings:Each option can take a glob pattern to tell the preset which files of a given type to be generated based on its normalized file name.
A normalized file name has this pattern:
Consider this schema:
v0.7.5
Compare Source
Patch Changes
4ab8016
: Use TypeScript typechecker to collect type propertiesPreviously, we manually walked through the program to collect properties of types. This is problematic as there are lots of ways to declare mappers that we cannot manually handle. On top of this, type property properties can be handled natively correctly by TypeScript typechecker.
Note: class declaration private properties are picked up by TypeScript typechecker, which could be problematic. We are keeping that case as-is.
v0.7.4
Compare Source
Patch Changes
e909a17
: fix path to output resolver files in main resolver files for nested schema files067bd7e
: Add params to generated resolvers47c8fa6
: Update package.json with missing deps891f718
: fix path to output resolver files so they are always generated near to schema.graphqlb226761
: Implement recursively pick interface extensions47c8fa6
]v0.7.3
Compare Source
Patch Changes
9f3b82b
: Federation support: Add __resolveReference to picked fields when extending object typesv0.7.2
Compare Source
Patch Changes
8ed14fc
: Fix issue where dashes were not handled correctly when using extended object pattern across multiple schemas7567190
: Declare tslib as a dependencyv0.7.1
Compare Source
Patch Changes
73d9936
: RelaxpresetConfig.typesPluginsConfig.namingConvention
enforcement. Warn if used.In v0.7.0, we've made
presetConfig.typesPluginsConfig.namingConvention
to throw if used. In this release, we've relaxed it because certain options may still work e.g.upperCaseFirst
. IfnamingConvention
is used, we warn instead.Currently, the preset naively uses the schema type spelling/casing as the generated type. Therefore, it's important to have
namingConvention
option askeep
. In the future, we can revisit to make sure generated resolvers have the samenamingConvention
support as the generated type file.v0.7.0
Compare Source
Minor Changes
ab6a9e7
: Support extending non-root object typesFor example, given this schema:
v0.6.0
Compare Source
Minor Changes
d0e17ad
: Add resolverGeneration optiondisabled
orrecommended
orall
(Default:recommended
)Decides which resolvers to generate:
disabled
: generates no resolvers. Use this if you want to use your own structures. Note: if custom scalars are detected and used, resolver main files are still generated.recommended
: generates the minimal amount of resolvers. Use this if you want a managed experience.typescript-resolvers
that make these not required.all
: generates all resolvers. Use this if you want all resolvers to be generated and use the ones you need.1586d73
: Add missing Interface file generationPatch Changes
c3ee642
: Fix emitLegacyCommonJSImports issuespresetConfig.emitLegacyCommonJSImports
is usedpresetConfig.typesPluginsConfig.emitLegacyCommonJSImports
is usedprintImportLine
with 3 options:file
,module
andpreserve
:externalResolvers
option e.g.src/module/file
was missing.js
because it was being detected as a module.externalResolvers
is set by the user and also used internally for scalar types, so we can usepreserve
instead to keep the module value as-is.file
: import is a file. For ESM, .js extension is added. For CJS, no extension is added.module
: import is a module fromnode_modules
or aliased e.g.graphql-scalars
or@org/your-module
. No extension is added.preserve
: preserve what the config declares. This is only used when taking user's config or preset-controlled config e.g.externalExternals
because the import could be either file or module191705f
: Add schema option to defineConfig49ba468
: Added support for the case where the Type mapper is a classc968c2c
: Fix: defineConfig's type no longer allows typesPluginsConfig.scalars or typesPluginsConfig.emitLegacyCommonJSImports2205e3f
: Update default custom GraphQLScalar template to guide users betterUpdated dependencies [
5e58a08
]v0.5.0
Compare Source
Minor Changes
f7831c1
: Use resolversNonOptionalTypename instead of nonOptionalTypenameThis makes using abstract types simpler because we do not return __typename for all types, only for union members and interface implementing types.
f7831c1
: Add scalarsOverrides config optionRecord<string, { resolver?: string; type?: string | { input: string; output: string } }>
(Default:{}
)Overrides scalars' resolver implementation, type or both.
Example:
BREAKING CHANGE:
typesPluginsConfig.scalars
can no longer be used. Please usescalarOverrides
instead.f7831c1
: Use optionalResolveType=true because resolversNonOptionalTypename worksf7831c1
: Add scalarsModule config optionstring
orfalse
(Default:graphql-scalars
)Where Scalar implementation and codegen types come from. Use
false
to implement your own Scalars.If using an module that is not
graphql-scalars
, the module must export resolver implementation and codegen type the same waygraphql-scalars
does e.g.Patch Changes
f7831c1
: Allows overriding native scalar types' type (Equivalent of typescript plugin's scalars option)f7831c1
: Correctly implement ID Scalar's input/output type: input is string and output is string | numberv0.4.1
Compare Source
Patch Changes
af10b65
: Add emitLegacyCommonJSImports config option to support esm-style imports in generated output72c0dc1
: Fix typeDefsFileMode=modules not working well with codegen hooks (e.g. afterAllFileWrite) for WindowsConfiguration
📅 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.