You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👍
Currently oneof seems to be somewhat supported. They are generated as regular fields by dart-protoc-plugin. Support for selecting and getting the current field would be nice. But I think this is an dart-protoc-plugin issue.
I don't think this would be terribly difficult to implement, and not having it really dampens the usefulness of the plugin for the use cases in which I typically want to use protobuf.
Unless this assigned internally, I wouldn't mind submitting a PR as I'm hoping to use this for a Flutter side-project.
https://developers.google.com/protocol-buffers/docs/proto#oneof
Generating enum and being able to switch on which field is set (like in Java proto library) would be especially useful.
The text was updated successfully, but these errors were encountered: