angular/packages/router/test
Andrew Scott 6a88bad019 fix(router): Ensure ActivatedRouteSnapshot#title has correct value (#47481)
ActivatedRouteSnapshot data gets mutated in the resolve phase of the Router. The title is assigned as part of this.
As a result, the title must be a getter in order to pick up the value that was note available during the class creation.

fixes #47459

BREAKING CHANGE: The title property is now required on ActivatedRouteSnapshot

PR Close #47481
2022-09-27 10:49:54 -07:00
..
operators feat(router): allow guards and resolvers to be plain functions (#46684) 2022-08-05 10:36:46 -07:00
utils build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
apply_redirects.spec.ts feat(router): allow guards and resolvers to be plain functions (#46684) 2022-08-05 10:36:46 -07:00
bootstrap.spec.ts feat(router): Create APIs for using Router without RouterModule (#47010) 2022-08-15 15:58:00 -07:00
BUILD.bazel build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
computed_state_restoration.spec.ts feat(router): Create APIs for using Router without RouterModule (#47010) 2022-08-15 15:58:00 -07:00
config.spec.ts refactor(router): Convert user-visible router errors to RuntimeError (#46562) 2022-06-29 12:50:23 -07:00
create_router_state.spec.ts feat(router): Add CanMatch guard to control whether a Route should match (#46021) 2022-06-13 22:53:49 +00:00
create_url_tree.spec.ts refactor(router): Convert user-visible router errors to RuntimeError (#46562) 2022-06-29 12:50:23 -07:00
helpers.ts refactor(router): move types from config and interfaces to models (#44939) 2022-02-03 12:40:28 -08:00
integration.spec.ts feat(router): Create APIs for using Router without RouterModule (#47010) 2022-08-15 15:58:00 -07:00
page_title_strategy_spec.ts fix(router): Ensure ActivatedRouteSnapshot#title has correct value (#47481) 2022-09-27 10:49:54 -07:00
recognize.spec.ts refactor(router): Update recognize to use Observable instead of Promise (#46021) 2022-06-13 22:53:49 +00:00
regression_integration.spec.ts feat(router): Create APIs for using Router without RouterModule (#47010) 2022-08-15 15:58:00 -07:00
router.spec.ts feat(router): allow guards and resolvers to be plain functions (#46684) 2022-08-05 10:36:46 -07:00
router_link_spec.ts feat(router): improve typings for RouterLink boolean inputs (#47101) 2022-08-12 13:28:38 +00:00
router_preloader.spec.ts feat(router): Create APIs for using Router without RouterModule (#47010) 2022-08-15 15:58:00 -07:00
router_scroller.spec.ts feat(router): Create APIs for using Router without RouterModule (#47010) 2022-08-15 15:58:00 -07:00
router_state.spec.ts feat(router): expose resolved route title (#46826) 2022-07-21 09:24:56 +00:00
shared.spec.ts fix(router): fix error when calling ParamMap.get function (#31599) 2020-06-25 11:57:24 -07:00
standalone.spec.ts feat(router): Support lazy loading standalone components with loadComponent (#45705) 2022-04-25 09:39:44 -07:00
url_serializer.spec.ts refactor(router): Convert user-visible router errors to RuntimeError (#46562) 2022-06-29 12:50:23 -07:00
url_tree.spec.ts fix(router): Allow question marks in query param values (#31187) 2021-08-06 10:49:37 -07:00