Validate Zero Enum Value in Protocol Buffer
How to validate that a Protobuf message does not contain enum fields with zero value? Turns out that this isn’t supported directly by Protobuf! We need to look into how the package protojson is implemented. — More and more companies are adopting gRPC with Protobuf for communication between internal services. It has the benefits of high performance, supporting multiple programming languages, and being backed by Google with a great ecosystem around.