fix(migrations): migrating input with more than 1 usage in a method#64367
Closed
aparzi wants to merge 1 commit intoangular:mainfrom
Closed
fix(migrations): migrating input with more than 1 usage in a method#64367aparzi wants to merge 1 commit intoangular:mainfrom
aparzi wants to merge 1 commit intoangular:mainfrom
Conversation
JeanMeche
reviewed
Oct 12, 2025
...ics/migrations/signal-migration/src/passes/reference_migration/helpers/standard_reference.ts
Outdated
Show resolved
Hide resolved
JeanMeche
reviewed
Oct 12, 2025
...ics/migrations/signal-migration/src/passes/reference_migration/helpers/standard_reference.ts
Show resolved
Hide resolved
JeanMeche
reviewed
Oct 12, 2025
...ics/migrations/signal-migration/src/passes/reference_migration/helpers/standard_reference.ts
Outdated
Show resolved
Hide resolved
JeanMeche
requested changes
Oct 12, 2025
2a8cb1e to
87bf24e
Compare
Contributor
Author
|
@JeanMeche I made the requested changes. Now the golden tests shouldn't fail, and I also rewrote some parts of the code. |
Contributor
Author
migration scope doesn't exist. What do I choice? I usually choice "core" |
Member
|
It's |
87bf24e to
14188bc
Compare
Contributor
Author
I updated also the PR title |
JeanMeche
reviewed
Oct 12, 2025
...ics/migrations/signal-migration/src/passes/reference_migration/helpers/standard_reference.ts
Outdated
Show resolved
Hide resolved
14188bc to
24ddea0
Compare
JeanMeche
reviewed
Oct 12, 2025
...ics/migrations/signal-migration/src/passes/reference_migration/helpers/standard_reference.ts
Outdated
Show resolved
Hide resolved
JeanMeche
reviewed
Oct 12, 2025
...ics/migrations/signal-migration/src/passes/reference_migration/helpers/standard_reference.ts
Outdated
Show resolved
Hide resolved
24ddea0 to
d0010e7
Compare
JeanMeche
reviewed
Oct 12, 2025
d0010e7 to
b7ce35f
Compare
JeanMeche
reviewed
Oct 12, 2025
packages/core/schematics/migrations/signal-migration/test/golden.txt
Outdated
Show resolved
Hide resolved
b7ce35f to
f7624eb
Compare
When the migration command was run for inputs, if the input had more than one reference in a method the migration would generate incorrect code Fixes angular#63018
f7624eb to
a181aac
Compare
JeanMeche
approved these changes
Oct 13, 2025
Contributor
AndrewKushnir
pushed a commit
that referenced
this pull request
Oct 13, 2025
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When the migration command was run for inputs, if the input had more than one reference in a method the migration would generate incorrect code
Fixes #63018
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #63018
What is the new behavior?
New code after migration:
Does this PR introduce a breaking change?