Skip to content

codegen: add oneof_attribute() for oneof-only custom attributes#167

Open
jlucaso1 wants to merge 1 commit into
anthropics:mainfrom
jlucaso1:feat/oneof-attribute
Open

codegen: add oneof_attribute() for oneof-only custom attributes#167
jlucaso1 wants to merge 1 commit into
anthropics:mainfrom
jlucaso1:feat/oneof-attribute

Conversation

@jlucaso1
Copy link
Copy Markdown
Contributor

@jlucaso1 jlucaso1 commented Jun 2, 2026

Adds oneof_attribute() (symmetric with message_attribute / enum_attribute) so a oneof enum can take a different attribute set than the surrounding types.

Closes #166.

Symmetric with message_attribute / enum_attribute, so a oneof enum can take a
different attribute set than the surrounding messages and regular enums (e.g. a
different serde derive). Matches against the oneof's fully-qualified path.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@jlucaso1 jlucaso1 marked this pull request as ready for review June 3, 2026 02:59
@Salientekill
Copy link
Copy Markdown

UP

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.

buffa-build: add oneof_attribute() so enums can take a different serde derive than oneofs/messages

2 participants