-
Notifications
You must be signed in to change notification settings - Fork 26
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 support for Proto3 optional
fields?
#38
Comments
@m-o-e Hmm, I'll have to look into this. Do you have a |
When you run this through protoc you should get:
(my According to the implementation guide apparently supporting this requires to While looking into it I tried to improve the existing oneof support a little |
Huh. I thought all fields were optional in |
Yup, they were until recently. protocolbuffers/protobuf#1606 (comment) Essentially Google admitted their mistake and fixed it in a way |
Protoc says:
optional
was re-introduced to proto3 here:protocolbuffers/protobuf#1606 (comment)
Would be great to have it supported in Crystal. :)
The text was updated successfully, but these errors were encountered: