#11001 65e5599
Thanks @eddeee888! - Fix typescript-operations generating
invalid interface declarations for @oneOf inputs when declarationKind is interface
(#10996).
A @oneOf input with multiple fields is a union, so it is always generated as a type alias; a
single-field @oneOf input keeps the configured declarationKind.input. typescript and typescript-operations share this rule through the new getOneOfInputDeclarationKind export from @graphql-codegen/visitor-plugin-common.
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@graphql-codegen/typescript-operations](https://github.com/dotansimha/graphql-code-generator) ([source](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/operations)) | [`6.1.8` → `6.1.9`](https://renovatebot.com/diffs/npm/@graphql-codegen%2ftypescript-operations/6.1.8/6.1.9) |  |  |
---
### Release Notes
<details>
<summary>dotansimha/graphql-code-generator (@​graphql-codegen/typescript-operations)</summary>
### [`v6.1.9`](https://github.com/dotansimha/graphql-code-generator/blob/HEAD/packages/plugins/typescript/operations/CHANGELOG.md#619)
[Compare Source](https://github.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/typescript-operations@6.1.8...@graphql-codegen/typescript-operations@6.1.9)
##### Patch Changes
- [#​11001](https://github.com/dotansimha/graphql-code-generator/pull/11001)
[`65e5599`](https://github.com/dotansimha/graphql-code-generator/commit/65e55991740a23f05886fa07770f8bc7be4bf8a5)
Thanks [@​eddeee888](https://github.com/eddeee888)! - Fix `typescript-operations` generating
invalid `interface` declarations for `@oneOf` inputs when `declarationKind` is `interface`
([#​10996](https://github.com/dotansimha/graphql-code-generator/issues/10996)).
A `@oneOf` input with multiple fields is a union, so it is always generated as a `type` alias; a
single-field `@oneOf` input keeps the configured `declarationKind.input`. `typescript` and
`typescript-operations` share this rule through the new `getOneOfInputDeclarationKind` export from
`@graphql-codegen/visitor-plugin-common`.
- Updated dependencies
\[[`65e5599`](https://github.com/dotansimha/graphql-code-generator/commit/65e55991740a23f05886fa07770f8bc7be4bf8a5)]:
- [@​graphql-codegen/visitor-plugin-common](https://github.com/graphql-codegen/visitor-plugin-common)@7.2.7
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMTUuMTMiLCJ1cGRhdGVkSW5WZXIiOiI0NC4xMTUuMTMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
6.1.8→6.1.9Release Notes
dotansimha/graphql-code-generator (@graphql-codegen/typescript-operations)
v6.1.9Compare Source
Patch Changes
#11001
65e5599Thanks @eddeee888! - Fix
typescript-operationsgeneratinginvalid
interfacedeclarations for@oneOfinputs whendeclarationKindisinterface(#10996).
A
@oneOfinput with multiple fields is a union, so it is always generated as atypealias; asingle-field
@oneOfinput keeps the configureddeclarationKind.input.typescriptandtypescript-operationsshare this rule through the newgetOneOfInputDeclarationKindexport from@graphql-codegen/visitor-plugin-common.Updated dependencies
[
65e5599]:Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.