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

Update addressbook.proto and examples code to proto3 #627

Merged
merged 6 commits into from Jul 21, 2015

Conversation

jtattermusch
Copy link
Contributor

We need this to address issue #565 (which is blocking merging C# into master).

This also reveals that despite style guide says that repeated fields should use name in plural form, the generated code doesn't really reflect that (in sense providing sane names for the generated members). Correct naming of fields in addressbook.proto ("phones" and "persons") results in code that's a bit wierd (e.g. method addPersons adds a single person)
https://sites.google.com/a/google.com/protocol-buffers/user-docs/style-guide#Naming_convention_for_repeated_e

@jskeet FYI

@xfxyjwf
Copy link
Contributor

xfxyjwf commented Jul 20, 2015

LGTM

@jtattermusch
Copy link
Contributor Author

Thanks, will wait for travis and then merge.

jtattermusch added a commit that referenced this pull request Jul 21, 2015
Update addressbook.proto and examples code to proto3
@jtattermusch jtattermusch merged commit 353b7a9 into protocolbuffers:master Jul 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants