Y
Hacker News
new
|
ask
|
show
|
jobs
by
joshuamorton
2703 days ago
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.
1 comments
kenshaw
2703 days 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!
link