Skip to content

add -scoped-enums flag for kEnumTag naming convention#9

Merged
petar merged 1 commit intomasterfrom
geoff/scoped-enums
Apr 23, 2026
Merged

add -scoped-enums flag for kEnumTag naming convention#9
petar merged 1 commit intomasterfrom
geoff/scoped-enums

Conversation

@gramseyer
Copy link
Copy Markdown
Collaborator

Allows XDR sources to use short enum tag names (e.g., red, green) while generating Go constants with scoped names (e.g., kColorRed). This lets other language targets consume the same XDR without manually-prefixed tag names.

Allows XDR sources to use short enum tag names (e.g., red, green)
while generating Go constants with scoped names (e.g., kColorRed).
This lets other language targets consume the same XDR without
manually-prefixed tag names.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@petar petar merged commit 9cf619e into master Apr 23, 2026
@petar petar deleted the geoff/scoped-enums branch April 23, 2026 05:32
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.

2 participants