b87da8f47c
BREAKING CHANGE The ROUTE_DATA token has been removed and replaced with a type RouteData, allowing a type injection like we do with RouteParams. Before: constructor(routeParams: RouteParams, @Inject(ROUTE_DATA) routeData) { let id = routeParams.get('id'); let name = ROUTE_DATA.name; } After: constructor(routeParams: RouteParams, routeData: RouteData) { let id = routeParams.get('id'); let name = routeData.get('name'); } Fixes #4392 Closes #4428 |
||
---|---|---|
.. | ||
integration | ||
location_spec.ts | ||
path_recognizer_spec.ts | ||
route_config_spec.dart | ||
route_config_spec.ts | ||
route_recognizer_spec.ts | ||
route_registry_spec.ts | ||
router_link_spec.ts | ||
router_spec.ts | ||
spies.dart | ||
spies.ts | ||
url_parser_spec.ts |