Skip to content

bazel: unable to enable ngtsc strict template type checking #33452

Closed

Description

@devversion

🐞 bug report

Affected Package

@angular/bazel

Is this a regression?

No

Description

Type checking performed by ngtsc is currently matching as much as possible with what NGC did. Since ngtsc type checking can be more advanced, there are flags to enable more advanced checking of templates.

These flags cannot be set from within the ng_module Bazel rule unfortunately. The issue is that ngc-wrapped does not redirect the new strictness flags. It will be cumbersome to redirect all individual strictness flags, so we need to think about the ideal API for these type checking flags

Activity

  1. added
    hotlist: components team
    on Oct 28, 2019
  2. modified the milestone: needsTriage on Oct 28, 2019
  3. added
    area: bazel
    on Oct 28, 2019
  4. modified the milestones: needsTriage, Backlog on Oct 29, 2019
  5. 8 remaining items

  6. added
    area: compiler
    on Jan 21, 2020
  7. added
    P3
    and removed on Oct 1, 2020
  8. dgp1130 commented on Sep 28, 2021

    @dgp1130
    Contributor

    I think this can be addressed by #43582, which adds strict_templates to ng_module().

  9. added a commit that references this issue on Sep 28, 2021
    d78e3bd
  10. angular-automatic-lock-bot commented on Oct 30, 2021

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  11. locked and limited conversation to collaborators on Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3area: bazelarea: compilerfreq3: highhotlist: components teamstate: confirmedtype: bug/fix

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions