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

refactor(router): Update Router to be providedIn: 'root' #46824

Closed
wants to merge 1 commit into from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented Jul 13, 2022

This commit updates the Router itself to be providedIn: 'root' with a
factory function rather than provided in the RouterModule.

Note: includes commit from #46758 which should be submitted first.

@atscott atscott added state: blocked target: minor This PR is targeted for the next minor release labels Jul 13, 2022
@ngbot ngbot bot added this to the Backlog milestone Jul 13, 2022
@atscott atscott force-pushed the routerForRoot branch 6 times, most recently from 235faaf to 4161b06 Compare July 19, 2022 16:12
@atscott
Copy link
Contributor Author

atscott commented Jul 19, 2022

Green TGP

@atscott atscott marked this pull request as ready for review July 19, 2022 16:20
@atscott atscott added target: rc This PR is targeted for the next release-candidate and removed target: minor This PR is targeted for the next minor release state: blocked labels Jul 19, 2022
Copy link
Member

@pkozlowski-opensource pkozlowski-opensource left a comment

Choose a reason for hiding this comment

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

LGTM

Reviewed-for: public-api

packages/router/src/router_config.ts Outdated Show resolved Hide resolved
@pullapprove pullapprove bot requested a review from AndrewKushnir July 20, 2022 00:03
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

This commit updates the Router itself to be `providedIn: 'root'` with a
factory function rather than provided in the `RouterModule`.
@atscott atscott removed the target: rc This PR is targeted for the next release-candidate label Jul 20, 2022
@atscott atscott added target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels Jul 20, 2022
@AndrewKushnir AndrewKushnir added target: minor This PR is targeted for the next minor release and removed target: patch This PR is targeted for the next patch release labels Jul 20, 2022
@AndrewKushnir
Copy link
Contributor

This PR was merged into the repository by commit d583f85.

@AndrewKushnir
Copy link
Contributor

@atscott there was a merge conflict with the 14.1.0 branch, so this PR was merged into the main branch only. Could you please create a new PR and target the 14.1.0 branch if the change should be included there as well? Thank you.

@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 Aug 20, 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 target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants