|
|
|
|
|
by rcfox
2365 days ago
|
|
It can be approximated with a single-item `oneof` field. It's ugly and boilerplatey, but at least it's binary-compatible with proto2 and gives the original behaviour. My main problem with proto2 these days is that I needed to interface with some C# code, and there is no proto2 library for C#! |
|
Looks like that's getting fixed!
https://github.com/protocolbuffers/protobuf/blob/master/docs...
https://github.com/protocolbuffers/protobuf/pulls?q=is%3Apr+...