Validate Zero Enum Value in Protocol Buffer | by Oliver N | Mar, 2022

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 protojson, the package is implemented

Oliver N
Photo by Goran Ivos on Unsplash
Want to Connect?Also published at my blog. Follow me on Twitter for more.

Leave a Comment