Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
joshuamorton
· 7y ago · 0 comments
In good proto2, all fields are optional, that doesn't negate the uses of one of, which provide compile time validation instead of runtime, which is the important part.
Comments
[–]
kenshaw
7y ago
Yes, I understand how this would be done. It's a design philosophy. If you'd like Gunk to support "oneof", we're open to Pull Requests!