Skip to content

tags are not propagated from ts_project to validation target #3259

@djmarcin

Description

@djmarcin

🐞 bug report

Affected Rule

ts_project macro

Is this a regression?

No

Description

tags such as manual are not propagated to the generated validate_options rule. This makes it impossible to disable this target from running under wildcard expansion, or to disable things like caching on this target.

They need to be added to this invocation

🔬 Minimal Reproduction

Set tags = ['manual'] on a ts_project invocation, bazel build //path/to/target/..., observe that the validate target is built despite the ts_project being marked manual.

🔥 Exception or Error

n/a

🌍 Your Environment

any

Rules_nodejs version:

  
4.6.1
  

Anything else relevant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions