Right now ts_proto_library uses proto_srcs = native.glob(["**/*.proto"]) to detect what generated files it should expect to copy. This is a convenient but erroneous assumption. If a particular build file has two protos a.proto and b.proto but only a.proto was used to generate a ts_proto_library this assumption breaks and you are forced to disable source copying or merge the proto_libraries together
Version
Development (host) and target OS/architectures: all
Output of bazel --version: all
Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file: 987b6acbc4b44959e0d92d1d2c950336ab2a9bad
What happened?
Right now ts_proto_library uses
proto_srcs = native.glob(["**/*.proto"])
to detect what generated files it should expect to copy. This is a convenient but erroneous assumption. If a particular build file has two protos a.proto and b.proto but only a.proto was used to generate a ts_proto_library this assumption breaks and you are forced to disable source copying or merge the proto_libraries togetherVersion
Development (host) and target OS/architectures: all
Output of
bazel --version
: allVersion of the Aspect rules, or other relevant rules from your
WORKSPACE
orMODULE.bazel
file: 987b6acbc4b44959e0d92d1d2c950336ab2a9badLanguage(s) and/or frameworks involved: starlark
How to reproduce
No response
Any other information?
No response