-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit 21b5852
fix(@angular/ssr): ensure
Ensure that `loadChildren` functions are executed within the route’s specific injection context when extracting routes, aligning behavior with Angular’s dependency injection model.
More context: angular/angular#62133
Closes #29483 loadChildren
runs in correct injection context during route extraction1 parent dc45c18 commit 21b5852
File tree
2 files changed
+51
-4
lines changed- packages/angular/ssr
- src/routes
- test/routes
2 files changed
+51
-4
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 | + | ||
13 | 14 |
| |
15 | + | ||
14 | 16 |
| |
15 | 17 |
| |
16 | 18 |
| |
| |||
195 | 197 |
| |
196 | 198 |
| |
197 | 199 |
| |
200 | + | ||
201 | + | ||
202 | + | ||
203 | + | ||
204 | + | ||
205 | + | ||
206 | + | ||
207 | + | ||
198 | 208 |
| |
199 | 209 |
| |
200 | 210 |
| |
201 | - | ||
211 | + | ||
202 | 212 |
| |
203 | 213 |
| |
204 | 214 |
| |
205 | - | ||
215 | + | ||
206 | 216 |
| |
207 | 217 |
| |
208 | 218 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | - | ||
15 | - | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
16 | 21 |
| |
17 | 22 |
| |
18 | 23 |
| |
| |||
717 | 722 |
| |
718 | 723 |
| |
719 | 724 |
| |
725 | + | ||
726 | + | ||
727 | + | ||
728 | + | ||
729 | + | ||
730 | + | ||
731 | + | ||
732 | + | ||
733 | + | ||
734 | + | ||
735 | + | ||
736 | + | ||
737 | + | ||
738 | + | ||
739 | + | ||
740 | + | ||
741 | + | ||
742 | + | ||
743 | + | ||
744 | + | ||
745 | + | ||
746 | + | ||
747 | + | ||
748 | + | ||
749 | + | ||
750 | + | ||
751 | + | ||
752 | + | ||
753 | + | ||
754 | + | ||
755 | + | ||
756 | + | ||
720 | 757 |
|
0 commit comments