Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gengapic): REGAPIC encode enums as numbers #994

Merged
merged 4 commits into from
May 16, 2022

Conversation

noahdietz
Copy link
Collaborator

Part of our REGAPIC effort to standardize JSON (de)serialization of enums as numbers to avoid the "unknown enum" error that comes with using the string identifiers instead.

Note: I've removed the use of UseProtoNames: false option because it is false by default so stating that explicitly is unnecessary and it was done inconsistently.

@noahdietz noahdietz marked this pull request as ready for review May 13, 2022 17:03
@noahdietz noahdietz requested review from a team as code owners May 13, 2022 17:03
@noahdietz noahdietz requested a review from vchudnov-g May 13, 2022 17:03
Copy link
Member

@codyoss codyoss 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 enabled auto-merge (squash) May 16, 2022 15:32
@noahdietz noahdietz merged commit 1a04703 into googleapis:main May 16, 2022
@noahdietz noahdietz deleted the regapic-numeric-enums branch May 16, 2022 16:39
Copy link
Contributor

@vchudnov-g vchudnov-g left a comment

Choose a reason for hiding this comment

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

LGTM

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