ScalaPB
ScalaPB copied to clipboard
sealed oneof option/annotation instead of special name
Sealed oneofs are only generated when the oneof name is sealed_value. For people with existing schemas (or schemas shared across multi-language teams where others might prefer another name), would it be possible to allow annotating the message or the oneof?
Maybe something like option (scalapb.message).sealed_oneof = true?