-
Notifications
You must be signed in to change notification settings - Fork 15.6k
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 C# generator handling of a field named "none" in a oneof #9636
Conversation
Note: the test protos are generated; I can easily regenerate them after rebasing, when this is approved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I was going to wait until #9686 was in, but I'll do that separately. Will regenerate (to update testprotos.pb) and merge. |
Have actually found some more places I wasn't fixing up - will fix those and request a re-review. |
807ebd3
to
8b25276
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM still!
Thanks Amanda. Will rebase again, look into the MacOS changes, and then merge if it's green. |
When following the instructions directly (for developing on Windows) we should end up with a generator that's easy to run for csharp/generate_protos.sh, and we shouldn't end up trying to stage the build output.
Fixes protocolbuffers#9605 (tests in next commit)
8b25276
to
99fad02
Compare
This doesn't test *all* possibilities (e.g. the field being a wrapper, or a message field, etc) - but I'm fairly confident that I found all the places referring to the case.
99fad02
to
10e1fed
Compare
Fixed #9605.
(Review one commit at a time; the final commit is just generated.)