Skip to content

fix(migrations): properly migrate output aliases#58411

Closed
pkozlowski-opensource wants to merge 1 commit intoangular:mainfrom
pkozlowski-opensource:output_migration_fixes
Closed

fix(migrations): properly migrate output aliases#58411
pkozlowski-opensource wants to merge 1 commit intoangular:mainfrom
pkozlowski-opensource:output_migration_fixes

Conversation

@pkozlowski-opensource
Copy link
Member

Before this fix the output migration was incorrectly assuming that the @output decorator takes its params as an object. What happens in reality is that the @output decorator is taking alias as the only argument, without any object literal wrapper.

Before this fix the output migration was incorrectly assuming
that the @output decorator takes its params as an object.
What happens in reality is that the @output decorator is taking
alias as the only argument, without any object literal wrapper.
@pullapprove pullapprove bot requested a review from crisbeto October 29, 2024 15:00
@angular-robot angular-robot bot added the area: migrations Issues related to `ng update`/`ng generate` migrations label Oct 29, 2024
@ngbot ngbot bot added this to the Backlog milestone Oct 29, 2024
@pkozlowski-opensource pkozlowski-opensource added action: review The PR is still awaiting reviews from at least one requested reviewer target: rc This PR is targeted for the next release-candidate labels Oct 29, 2024
@pkozlowski-opensource pkozlowski-opensource removed the request for review from crisbeto October 29, 2024 15:32
@pkozlowski-opensource pkozlowski-opensource added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 29, 2024
@alxhub
Copy link
Member

alxhub commented Oct 30, 2024

This PR was merged into the repository by commit 3161360.

The changes were merged into the following branches: main, 19.0.x

alxhub pushed a commit that referenced this pull request Oct 30, 2024
Before this fix the output migration was incorrectly assuming
that the @output decorator takes its params as an object.
What happens in reality is that the @output decorator is taking
alias as the only argument, without any object literal wrapper.

PR Close #58411
@alxhub alxhub closed this in 3161360 Oct 30, 2024
@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 Nov 30, 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: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants