Y
Hacker News
new
|
ask
|
show
|
jobs
by
ssambros
2719 days ago
oneof thingy { repeated string first_option; string second_option; }
Not the most beautiful solution, but I've seen it in production and it works fine.