Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(router): Remove unused string type for ActivatedRoute.component #45625

Closed
wants to merge 1 commit into from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented Apr 14, 2022

The type of component on ActivatedRoute and ActivatedRouteSnapshot
includes string. In reality, this is not the case. The component
cannot be anything other than a component class.

Reviewers note: It's unlikely that this is actually a breaking change but I will run TGP to confirm.

@ngbot ngbot bot added this to the Backlog milestone Apr 14, 2022
@atscott
Copy link
Contributor Author

atscott commented Apr 14, 2022

TGP train

Copy link
Contributor

@AndrewKushnir AndrewKushnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-for: public-api

@pullapprove pullapprove bot requested a review from dylhunn April 14, 2022 00:54
BREAKING CHANGE:
The type of `component` on `ActivatedRoute` and `ActivatedRouteSnapshot`
includes `string`. In reality, this is not the case. The component
cannot be anything other than a component class.
@atscott
Copy link
Contributor Author

atscott commented Apr 14, 2022

green TGP with local mods

Copy link
Contributor

@jessicajaniuk jessicajaniuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed-for: public-api

Copy link
Contributor

@dylhunn dylhunn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed-for: public-api

@jessicajaniuk jessicajaniuk removed their request for review April 14, 2022 22:59
@atscott
Copy link
Contributor Author

atscott commented Apr 15, 2022

Note: Adding blocked label until g3 is cleaned up

@atscott
Copy link
Contributor Author

atscott commented Apr 19, 2022

TGP rerun after fixes

@atscott atscott added target: major This PR is targeted for the next major release action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed state: blocked labels Apr 19, 2022
@atscott
Copy link
Contributor Author

atscott commented Apr 19, 2022

merge assistance: I can't dismiss the extra reviewers

@dylhunn
Copy link
Contributor

dylhunn commented Apr 20, 2022

This PR was merged into the repository by commit 989e840.

@dylhunn dylhunn closed this in 989e840 Apr 20, 2022
@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 May 21, 2022
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: router merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants