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

Align proto primitives #187

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Align proto primitives #187

wants to merge 5 commits into from

Conversation

daymxn
Copy link
Collaborator

@daymxn daymxn commented Jul 2, 2024

Per b/346838276,

This better aligns our serialization with the default behavior of the proto. More specifically- primitive defaults, and empty lists. Other default behaviors could be addressed as well- such as UNSPECIFIED for enum values, but that has been put off for now as it will have design implications (eg; FinishReason no longer being null).

This PR also fixes the following:

b/350773404 -> Stop using snake case serial names

@daymxn daymxn requested a review from rlazo July 2, 2024 19:42
@daymxn daymxn self-assigned this Jul 2, 2024
@daymxn daymxn enabled auto-merge (squash) July 2, 2024 19:58
@daymxn daymxn disabled auto-merge July 2, 2024 21:00
Copy link
Collaborator

@rlazo rlazo left a comment

Choose a reason for hiding this comment

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

I've added a couple of comments that affect several places, so we can discuss them further first

@daymxn daymxn requested a review from rlazo July 3, 2024 22:01
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