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

Add Field Presence for Csharp Proto3 #306

Closed
wants to merge 3 commits into from
Closed

Add Field Presence for Csharp Proto3 #306

wants to merge 3 commits into from

Conversation

anandolee
Copy link
Contributor

Remove has variables for optional non-message fields in Proto3.

@jskeet
I may need to add tests in the future. This change removes some Has variables in generated code, do you have any idea how to check if a variable is defined?

@googlebot
Copy link

CLAs look good, thanks!

@anandolee anandolee closed this Apr 27, 2015
@anandolee anandolee reopened this Apr 27, 2015
@anandolee anandolee self-assigned this Apr 27, 2015
@anandolee anandolee closed this Apr 28, 2015
@jskeet
Copy link
Contributor

jskeet commented Apr 28, 2015

You'd use reflection within the C# tests to check it - Type.GetField and Type.GetProperty.
We could add that to the list of things to do within the C# tests when they're up and running again...

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

3 participants