qtprotobuf
qtprotobuf copied to clipboard
Support enum field for Oneof
Problem description Generator doesn't create enum for Oneof cases.
Suggestion/solution Generator should create enum field for Oneof cases. And (de)serializer should fill the field.
Additional context See the docs, how standard CPP generator supports it.
Am I reading correctly in that there currently no way of knowing which variant of a oneof is populated?