bufbuild/validate-cpp
Generates C++ code to validate Protobuf messages using protoc-gen-validate constraints.
Add this to the
plugins
section of your buf.gen.yaml
. For more detail, refer to the supporting docs.