Ming Fang
Ming Fang
Hit the same issue, and ended up adopting the bazel rules from [rules-proto-grpc](https://github.com/rules-proto-grpc/rules_proto_grpc). It works pretty well.
> We tried to use `protoc-gen-validate` in our proto repo which uses `bazel` as the building tool. However, directly referencing this repo and using the rule located in `https://github.com/envoyproxy/protoc-gen-validate/blob/main/bazel/pgv_proto_library.bzl` gave...
This is super useful, one of the most wanted features. Hope it can be merged soon.
> @codyaray I merged main into your branch and opened #546. I didn't know how to push commits to your branch directly. @miparnisari Is there a way to get #546...
@TristonianJones thanks for your quick reply. Ideally, I would like to have something like `string(google.protobuf.Field{}.kind) == "TYPE_UNKNOWN"`. Is there a way to know the type of the enum at runtime?...