Skip to content

Conversation

@atscott
Copy link
Contributor

@atscott atscott commented Jul 1, 2024

This fixes a bug with RouterOutlet and its context where it would reuse providers from a previously activated route.

fixes #56774

@atscott atscott added area: router target: patch This PR is targeted for the next patch release labels Jul 1, 2024
@ngbot ngbot bot modified the milestone: Backlog Jul 1, 2024
@atscott atscott added the action: global presubmit The PR is in need of a google3 global presubmit label Jul 1, 2024
Copy link
Contributor

@thePunderWoman thePunderWoman 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 alxhub July 2, 2024 14:13
@atscott atscott force-pushed the routerinjectors branch from 38d0650 to 0453451 Compare July 2, 2024 15:05
@atscott
Copy link
Contributor Author

atscott commented Jul 2, 2024

@atscott atscott removed the action: global presubmit The PR is in need of a google3 global presubmit label Jul 2, 2024
@pullapprove pullapprove bot requested a review from dylhunn July 2, 2024 16:10
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

This fixes a bug with RouterOutlet and its context where it would reuse
providers from a previously activated route.

fixes angular#56774
@atscott atscott force-pushed the routerinjectors branch from 0453451 to 781a438 Compare July 2, 2024 16:18
@atscott atscott added the action: merge The PR is ready for merge by the caretaker label Jul 2, 2024
@atscott atscott requested review from pkozlowski-opensource and removed request for AndrewKushnir, alxhub and dylhunn July 2, 2024 17:03
@thePunderWoman thePunderWoman removed the request for review from pkozlowski-opensource July 2, 2024 17:10
thePunderWoman pushed a commit that referenced this pull request Jul 2, 2024
This fixes a bug with RouterOutlet and its context where it would reuse
providers from a previously activated route.

fixes #56774

PR Close #56798
thePunderWoman pushed a commit that referenced this pull request Jul 2, 2024
This fixes a bug with RouterOutlet and its context where it would reuse
providers from a previously activated route.

fixes #56774

PR Close #56798
@thePunderWoman
Copy link
Contributor

This PR was merged into the repository by commit 4343cd2.

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

@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 8, 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: router target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Routed components get services from the wrong injector

3 participants