-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Transitive Dependencies Explicitly Imported in WORKSPACE #19835
Description
We are currently manually calling go_rules_dependencies() and go_register_toolchains() in our WORKSPACE file, but do not directly use any of the build targets offered by these repository rules. These were introduced in 49e7f4b in order to add a dependency on https://github.com/envoyproxy/data-plane-api. However, one of its dependencies, https://github.com/envoyproxy/protoc-gen-validate, offers no deps() function. As a result, a burden is put on all consumers (even transitive ones) to manually pull in its dependencies and call its repository rules.
A deps() rules should be added to protoc-gen-validate so that these brittle invocations can be removed.