Skip to content

Conversation

@devversion
Copy link
Member

By default, we don't migrate inputs if they are part of e.g. @if for now. That is because we don't have the template narrowing feature available yet.

To improve impact of the migration until we have the narrowing, we add some additional checks that allow us to migrate instances of inputs that are part of e.g. @if but are actually not used inside (and hence are guaranteed to be not narrowed).

cc. @pkozlowski-opensource

…igrated

By default, we don't migrate inputs if they are part of e.g. `@if` for
now. That is because we don't have the template narrowing feature
available yet.

To improve impact of the migration until we have the narrowing, we add
some additional checks that allow us to migrate instances of inputs that
are part of e.g. `@if` but are actually not used inside (and hence are
guaranteed to be _not_ narrowed).
@devversion devversion added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Aug 8, 2024
@devversion devversion requested a review from crisbeto August 8, 2024 15:57
@angular-robot angular-robot bot added the area: migrations Issues related to `ng update`/`ng generate` migrations label Aug 8, 2024
@ngbot ngbot bot added this to the Backlog milestone Aug 8, 2024
@devversion devversion added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release and removed action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Aug 9, 2024
@devversion
Copy link
Member Author

Note to self: create patch port

@AndrewKushnir
Copy link
Contributor

This PR was merged into the repository by commit 9d0fe9d.

The changes were merged into the following branches: main

@AndrewKushnir
Copy link
Contributor

@devversion the PR was merged to the main branch only (targeted at v19), do we need this change in v18.2.0 as well?

devversion added a commit to devversion/angular that referenced this pull request Aug 9, 2024
…igrated (angular#57308)

By default, we don't migrate inputs if they are part of e.g. `@if` for
now. That is because we don't have the template narrowing feature
available yet.

To improve impact of the migration until we have the narrowing, we add
some additional checks that allow us to migrate instances of inputs that
are part of e.g. `@if` but are actually not used inside (and hence are
guaranteed to be _not_ narrowed).

PR Close angular#57308
AndrewKushnir pushed a commit that referenced this pull request Aug 9, 2024
…igrated (#57308) (#57323)

By default, we don't migrate inputs if they are part of e.g. `@if` for
now. That is because we don't have the template narrowing feature
available yet.

To improve impact of the migration until we have the narrowing, we add
some additional checks that allow us to migrate instances of inputs that
are part of e.g. `@if` but are actually not used inside (and hence are
guaranteed to be _not_ narrowed).

PR Close #57308

PR Close #57323
@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 Sep 9, 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: migrations Issues related to `ng update`/`ng generate` migrations target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants