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

This reverts commit c2e0f71a78.
This commit is contained in:
Victor Berchet
2017-02-20 19:48:43 -08:00
parent 670f2eca00
commit c2d5f203a5
6 changed files with 9 additions and 163 deletions

View File

@ -197,7 +197,6 @@ export interface Route {
pathMatch?: string;
redirectTo?: string;
resolve?: ResolveData;
runGuardsAndResolvers?: RunGuardsAndResolvers;
}
/** @experimental */
@ -377,9 +376,6 @@ export declare class RoutesRecognized {
toString(): string;
}
/** @experimental */
export declare type RunGuardsAndResolvers = 'paramsChange' | 'paramsOrQueryParamsChange' | 'always';
/** @experimental */
export declare abstract class UrlHandlingStrategy {
abstract extract(url: UrlTree): UrlTree;