[Bug]: ts_proto_library
does not work with import_prefix
and strip_import_prefix
in proto_library
#476
Labels
ts_proto_library
does not work with import_prefix
and strip_import_prefix
in proto_library
#476
What happened?
This is the underlying cause of what I posted here. It turns out that if you use
import_prefix
orstrip_import_prefix
in aproto_library
,ts_proto_library
will fail with an error that looks like this:Version
Development (host) and target OS/architectures: Mac OS
Output of
bazel --version
: 6.4.0Version of the Aspect rules, or other relevant rules from your
WORKSPACE
orMODULE.bazel
file: 2.0.0-rc1Language(s) and/or frameworks involved: TypeScript
How to reproduce
with a
BUILD.bazel
file with these contents:Note that
py_proto_library
is able to handle this scenario well such that the following builds file:The text was updated successfully, but these errors were encountered: