Instead of using oneofs, you can now use the new (buf.validate.message).oneof Protovalidate annotation. As long as you’re validating your messages with Protovalidate, (buf.validate.message).oneof does exactly what you’d expect, with none of the pain.
Oneofs are a disaster. Protovalidate has fixed them.
calendar_today
June 13, 2025
domain
buf