Skip to content

fix(compiler-cli): interpolatedSignalNotInvoked diagnostic for class, style, attribute and animation bindings#55969

Closed
cexbrayat wants to merge 1 commit intoangular:mainfrom
cexbrayat:fix/dom-property-bound-signal-not-invoked-classes
Closed

fix(compiler-cli): interpolatedSignalNotInvoked diagnostic for class, style, attribute and animation bindings#55969
cexbrayat wants to merge 1 commit intoangular:mainfrom
cexbrayat:fix/dom-property-bound-signal-not-invoked-classes

Conversation

@cexbrayat
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the new behavior?

This extends the diagnostic to catch issues like:

<div [class.green]="mySignal"></div>
<div [style.width]="mySignal"></div>
<div [attr.role]="mySignal"></div>
<div [@triggerName]="mySignal"></div>

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

… style, attribute and animation bindings

This extends the diagnostic to catch issues like:

```html
<div [class.green]="mySignal"></div>
<div [style.width]="mySignal"></div>
<div [attr.role]="mySignal"></div>
<div [@TriggerName]="mySignal"></div>
```
@pullapprove pullapprove bot requested a review from JoostK May 21, 2024 15:05
@cexbrayat cexbrayat requested a review from devversion May 21, 2024 18:25
@devversion devversion added action: merge The PR is ready for merge by the caretaker target: rc This PR is targeted for the next release-candidate labels May 21, 2024
@devversion devversion removed the request for review from JoostK May 21, 2024 18:35
@devversion devversion added the area: compiler Issues related to `ngc`, Angular's template compiler label May 21, 2024
@ngbot ngbot bot added this to the Backlog milestone May 21, 2024
@AndrewKushnir AndrewKushnir added target: patch This PR is targeted for the next patch release and removed target: rc This PR is targeted for the next release-candidate labels May 22, 2024
@pkozlowski-opensource
Copy link
Member

This PR was merged into the repository by commit 4ffa736.

pkozlowski-opensource pushed a commit that referenced this pull request May 23, 2024
… style, attribute and animation bindings (#55969)

This extends the diagnostic to catch issues like:

```html
<div [class.green]="mySignal"></div>
<div [style.width]="mySignal"></div>
<div [attr.role]="mySignal"></div>
<div [@TriggerName]="mySignal"></div>
```

PR Close #55969
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jun 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: compiler Issues related to `ngc`, Angular's template compiler target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants