Closed Ginakira closed 4 months ago
Thanks, but you are looking at the docs for the v5 release but using the v4 release. The docs for the version you are using are at https://rules-proto-grpc.com/en/4.5.0/custom_plugins.html (4.6.0 is not being shown by RTD for some reason)
Thanks, but you are looking at the docs for the v5 release but using the v4 release. The docs for the version you are using are at https://rules-proto-grpc.com/en/4.5.0/custom_plugins.html (4.6.0 is not being shown by RTD for some reason)
Sorry, I didn't notice that. Thanks for your reply! :)
Version: v4.6.0 In custom plugin, if I defined toolchain attribute as
@rules_proto_grpc//protoc:toolchain_type
in proto compile rule just same as document:It has error when build:
Replace it to
@rules_proto_grpc//protobuf:toolchain_type
will resolve this problem. And I found there is no folder namedprotoc
under the<bazel_cache_dir>/external/rules_proto_grpc
.Maybe code of the document is outdated. Please review this pull request, thanks!