Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
joshuamorton
7y ago
0 comments
Share
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.
undefined | Better HN
0 comments
default
newest
oldest
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!
j
/
k
navigate · click thread line to collapse