Closed amatalai closed 7 years ago
Just to be sure, can you find the reference for this restriction in the spec? I'm happy to merge this, just don't want to do it if it breaks things unexpectedly.
Yup, here it is:
https://developers.google.com/protocol-buffers/docs/proto#oneof
You then add your oneof fields to the oneof definition. You can add fields of any type, but cannot use the required, optional, or repeated keywords.
Thanks!
I'll get a new release published today hopefully
As far as I remember
repeated
can't be used insideoneof
, so only list we can get inside oneof is character list (string field).71