X Tutup
The Wayback Machine - https://web.archive.org/web/20220610051747/https://github.com/angular/angular/pull/45625
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 atscott commented Apr 14, 2022

TGP train

Copy link
Contributor

@AndrewKushnir AndrewKushnir left a comment

Reviewed-for: public-api

@pullapprove pullapprove bot requested a review from dylhunn Apr 14, 2022
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 atscott commented Apr 14, 2022

green TGP with local mods

Copy link
Contributor

@jessicajaniuk jessicajaniuk left a comment

reviewed-for: public-api

Copy link
Contributor

@dylhunn dylhunn left a comment

reviewed-for: public-api

@jessicajaniuk jessicajaniuk removed their request for review Apr 14, 2022
@atscott
Copy link
Contributor Author

@atscott atscott commented Apr 15, 2022

Note: Adding blocked label until g3 is cleaned up

@atscott
Copy link
Contributor Author

@atscott atscott commented Apr 19, 2022

TGP rerun after fixes

@atscott atscott added target: major action: merge action: merge-assistance and removed state: blocked labels Apr 19, 2022
@atscott
Copy link
Contributor Author

@atscott atscott commented Apr 19, 2022

merge assistance: I can't dismiss the extra reviewers

@dylhunn
Copy link
Contributor

@dylhunn dylhunn commented Apr 20, 2022

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

@angular-automatic-lock-bot
Copy link

@angular-automatic-lock-bot angular-automatic-lock-bot bot commented May 21, 2022

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 action: merge-assistance comp: router flag: breaking change target: major
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants
X Tutup