Skip to content

oneof variants#286

Merged
ismaelrumzan merged 3 commits into
mainfrom
chore/disambiguate-inline-oneof-variants
May 7, 2026
Merged

oneof variants#286
ismaelrumzan merged 3 commits into
mainfrom
chore/disambiguate-inline-oneof-variants

Conversation

@ismaelrumzan
Copy link
Copy Markdown
Collaborator

Vercel's spec has inline oneOf variants whose generated Go names collide with sibling variants in the same union so the mockserver code generator emits two declarations of the same Go const/struct field/function in the same file → compile fails. Two distinct sites trigger this.

https://vercel.slack.com/archives/C074TFBJJ6L/p1778159149146879?thread_ts=1777268689.848849&cid=C074TFBJJ6L

@ismaelrumzan ismaelrumzan requested a review from molebox as a code owner May 7, 2026 14:38
@ismaelrumzan ismaelrumzan merged commit 75f818f into main May 7, 2026
2 of 3 checks passed
@ismaelrumzan ismaelrumzan deleted the chore/disambiguate-inline-oneof-variants branch May 7, 2026 14:43
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

SDK Test Report: vercel — tests failed   View Report

ismaelrumzan added a commit that referenced this pull request May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant