Skip to content

[pull] master from dotansimha:master - #497

Merged
pull[bot] merged 3 commits into
danielo515:masterfrom
dotansimha:master
Sep 29, 2026
Merged

pull[bot] merged 3 commits into
danielo515:masterfrom
dotansimha:master

Conversation

@pull

@pull pull Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

eddeee888 and others added 3 commits September 29, 2026 23:55
…rationKind 'interface' (#10998)

With `declarationKind: 'interface'`, typescript-operations emits a multi-field
@OneOf input as `export interface FooInput { ... } | { ... }`, which is invalid
TypeScript. The test asserts the expected type alias and currently fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TsaydotU8AFHMT1P4MEfra

eddeee888:oss:issue-verify

Co-authored-by: Claude <noreply@anthropic.com>
…h declarationKind interface (#10996) (#11001)

* fix: generate @OneOf inputs as type alias with declarationKind interface in typescript-operations (#10996)

typescript-operations now uses the same declaration-kind rule as the typescript plugin for @OneOf inputs: multi-field inputs are unions and are always emitted as a `type` alias, while single-field inputs keep `declarationKind.input`. The rule lives in the new `getOneOfInputDeclarationKind` helper exported from visitor-plugin-common.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TsaydotU8AFHMT1P4MEfra

eddeee888:oss:issue-fix

* refactor: take object param in getOneOfInputDeclarationKind

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TsaydotU8AFHMT1P4MEfra

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Sep 29, 2026
@pull pull Bot added the ⤵️ pull label Sep 29, 2026
@pull
pull Bot merged commit b7d2909 into danielo515:master Sep 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant