feat(router): add an option to rerun guards and resolvers when query changes (#14624)

Closes #14514
Closes #14567
This commit is contained in:
Victor Berchet
2017-02-23 22:12:30 -08:00
committed by Igor Minar
parent be8510356a
commit 41da5998cd
6 changed files with 163 additions and 9 deletions

View File

@ -115,6 +115,6 @@ function checkResolveData(
function createActivatedRouteSnapshot(cmp: string, extra: any = {}): ActivatedRouteSnapshot {
return new ActivatedRouteSnapshot(
<any>[], {}, <any>null, <any>null, <any>null, <any>null, <any>cmp, <any>null, <any>null, -1,
<any>[], {}, <any>null, <any>null, <any>null, <any>null, <any>cmp, <any>{}, <any>null, -1,
extra.resolve);
}