3 ms·
You mean like: repeated oneof actions { ActionTypeOne type_one; ActionTypeTwo type_two; } or like: oneof thingy { repeated string first_opt
by CobrastanJorji 8y ago
You mean like:
repeated oneof actions {
ActionTypeOne type_one;
ActionTypeTwo type_two;
}
or like:
oneof thingy {
repeated string first_option;
string second_option;
}
I can see why you'd want to do either of those things, but it doesn't seem like a huge deal to me to wrap those in another message.
- ssambros 8y agooneof thingy { repeated string first_option; string second_option; } Not the most beautiful solution, but I've seen it in production and it works fine.