Skip to content

fix(AIP-157): prefix top-level enum values#1092

Merged
noahdietz merged 2 commits intoaip-dev:masterfrom
noahdietz:157-example
May 9, 2023
Merged

fix(AIP-157): prefix top-level enum values#1092
noahdietz merged 2 commits intoaip-dev:masterfrom
noahdietz:157-example

Conversation

@noahdietz
Copy link
Copy Markdown
Collaborator

This fixes the example View enum to use prefixed values since it is also recommended that the enum definition is top level. According to AIP-126, top-level enum values should be prefixed to avoid collisions in generated code.

@noahdietz noahdietz requested a review from a team as a code owner May 8, 2023 16:13
Copy link
Copy Markdown
Contributor

@bgrant0607 bgrant0607 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@noahdietz noahdietz requested a review from a team May 9, 2023 19:39
Copy link
Copy Markdown
Contributor

@toumorokoshi toumorokoshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! add a changelog?

@noahdietz
Copy link
Copy Markdown
Collaborator Author

add a changelog?

Oops, thanks for catching that. Done!

@noahdietz noahdietz enabled auto-merge (squash) May 9, 2023 20:13
@noahdietz noahdietz merged commit ad4f78f into aip-dev:master May 9, 2023
@noahdietz noahdietz deleted the 157-example branch May 9, 2023 20:34
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.

3 participants