( future: RouterStateSnapshot, curr: RouterStateSnapshot, parentContexts: ChildrenOutletContexts, )
| 45 | }; |
| 46 | |
| 47 | export function getAllRouteGuards( |
| 48 | future: RouterStateSnapshot, |
| 49 | curr: RouterStateSnapshot, |
| 50 | parentContexts: ChildrenOutletContexts, |
| 51 | ): Checks { |
| 52 | const futureRoot = future._root; |
| 53 | const currRoot = curr ? curr._root : null; |
| 54 | |
| 55 | return getChildRouteGuards(futureRoot, currRoot, parentContexts, [futureRoot.value]); |
| 56 | } |
| 57 | |
| 58 | export function getCanActivateChild( |
| 59 | p: ActivatedRouteSnapshot, |
searching dependent graphs…