Skip to content

[Bug]: Wrong placement of output files for ts_proto_library #466

@jvliwanag

Description

@jvliwanag

What happened?

ts_proto_library should write its output on the directory the rule was defined.

Release 4.5.0 however writes the output instead on the directory where the proto file is.

Version

Development (host) and target OS/architectures: macos

Output of bazel --version: aspect 5.7.2

Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file: 4.5.0

Language(s) and/or frameworks involved: rules_ts

How to reproduce

Create a ts_proto_library where the proto file is on a different directory + BUILD.

See sample commit from sample branch.

Any other information?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedAspect isn't prioritizing this, but the community couldneed: fundingWe could prioritize this based on donation to https://opencollective.com/aspect-build

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions