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

Ensure any fields that could intersect with Message are renamed #321

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Gobot1234
Copy link
Collaborator

@Gobot1234 Gobot1234 commented Jan 18, 2022

Follows from a conversation with @danielgtaylor.
THIS IS A BREAKING CHANGE

parse -> parse_
serialized_on_wire -> serialized_on_wire_
foo -> foo

This allows us to reserve names for betterproto. I'll need to document this somewhere.

@cetanu
Copy link
Collaborator

cetanu commented Jan 27, 2022

Which part of this is breaking? The change overall seems fine to me.

@Gobot1234
Copy link
Collaborator Author

I removed the which_one_of and serialised_on_wire methods

@cetanu
Copy link
Collaborator

cetanu commented Jan 27, 2022

I see... and they are attributes on the messages instead... That seems like good value in my opinion

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