angular-cn/packages/router/test
Jason Aden d70a7f3ac9 feat(router): add pathParamsOrQueryParamsChange mode for runGuardsAndResolvers (#27464)
This option means guards and resolvers will ignore changes to matrix parameters. Guards and resolvers will be rerun when the path changes, when path parameters change, or when query parameters change.

The primary use case for such a mode is when updating the UI and getting the URL to be in sync with local changes. For example, if displaying a sortable table, changing the sort direction is often handled by the table itself. But you would want to update the URL to be in sync with what's being displayed to the user. As long as the table sort direction is stored as a matrix parameter, you can use this option to update the URL without causing the overhead of re-running guards and resolvers.

Related to #26861 #18253

PR Close #27464
2018-12-05 10:43:29 -08:00
..
aot_ngsummary_test build(ivy): remove the remains of ivy-jit mode (#27278) 2018-11-27 10:30:58 -08:00
operators test(ivy): run router tests with ivy on CI (#27195) 2018-11-21 09:19:40 -08:00
utils build: add bazel test rules for remainder of packages (#21053) 2017-12-22 13:10:51 -08:00
BUILD.bazel test(ivy): run router tests with ivy on CI (#27195) 2018-11-21 09:19:40 -08:00
apply_redirects.spec.ts feat(router): add UrlSegment[] to CanLoad interface (#13127) 2018-08-16 16:32:18 -07:00
bootstrap.spec.ts build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00
config.spec.ts fix(router): fix lazy loading of aux routes (#23459) 2018-06-13 11:20:20 -07:00
create_router_state.spec.ts build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00
create_url_tree.spec.ts fix(router): change processing url tree children condition (#26243) 2018-12-05 10:39:30 -08:00
helpers.ts feat(router): allow guards to return UrlTree as well as boolean (#26521) 2018-10-31 19:51:50 -04:00
integration.spec.ts feat(router): add pathParamsOrQueryParamsChange mode for runGuardsAndResolvers (#27464) 2018-12-05 10:43:29 -08:00
recognize.spec.ts fix(router): process empty path segment when preceding a named outlet (#26243) 2018-12-05 10:39:30 -08:00
regression_integration.spec.ts test(ivy): run more router tests in CI (#27325) 2018-11-30 14:58:22 -08:00
router.spec.ts test(ivy): run router tests with ivy on CI (#27195) 2018-11-21 09:19:40 -08:00
router_preloader.spec.ts test(ivy): add ability to find already passing tests (#27449) 2018-12-05 09:34:52 -08:00
router_scroller.spec.ts fix(router): default scroll position restoration to disabled (#25586) 2018-08-21 10:48:14 -07:00
router_state.spec.ts build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00
shared.spec.ts style: typos fixed - https://github.com/vlajos/misspell-fixer (#22975) 2018-03-27 14:51:53 -04:00
spy_ng_module_factory_loader.spec.ts test(ivy): run router tests with ivy on CI (#27195) 2018-11-21 09:19:40 -08:00
url_serializer.spec.ts fix(router): correct the segment parsing so it won't break on ampersand (#23684) 2018-05-10 07:53:53 -07:00
url_tree.spec.ts style: typos fixed - https://github.com/vlajos/misspell-fixer (#22975) 2018-03-27 14:51:53 -04:00