angular/packages/router/src
Adrien Crivelli b0b4953fd6 fix(router): Allow undefined inputs on routerLink (#39151)
This make it coherent with typing of Router.createUrlTree to which
those inputs are directly forwarded to. And hence it allow to pass
`undefined`, `null` or a value to the routerLink directive.

BREAKING CHANGE: in most cases this should not break, but if you were
accessing the values of `queryParams`, `fragment` or `queryParamsHandling`
you might need to relax the typing to also accept `undefined` and `null`.

Signed-off-by: Adrien Crivelli <adrien.crivelli@gmail.com>

PR Close #39151
2020-10-12 12:52:37 -07:00
..
components build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
directives fix(router): Allow undefined inputs on routerLink (#39151) 2020-10-12 12:52:37 -07:00
operators revert: feat(router): better warning message when a router outlet has not been instantiated (#38920) 2020-09-21 09:35:06 -07:00
utils fix(router): update getRouteGuards to check if the context outlet is activated (#39049) 2020-09-30 14:58:47 -07:00
apply_redirects.ts refactor(router): Remove defer as it's not needed anymore (#38781) 2020-09-10 08:55:31 -07:00
config.ts refactor(router): Adjust type of parameter in navigateByUrl and createUrlTree to be more accurate (#38227) 2020-09-25 10:36:13 -04:00
create_router_state.ts fix(router): Fix arguments order for call to shouldReuseRoute (#26949) 2020-09-15 11:33:52 -07:00
create_url_tree.ts fix(router): add null support for RouterLink directive (#32616) 2020-06-25 11:58:00 -07:00
events.ts docs: update router api documentation (#37980) 2020-07-16 13:52:40 -07:00
index.ts refactor(router): Adjust type of parameter in navigateByUrl and createUrlTree to be more accurate (#38227) 2020-09-25 10:36:13 -04:00
interfaces.ts docs: update reference doc for router guards and resolvers (#38079) 2020-07-15 12:32:10 -07:00
private_export.ts fix(router): properly assign ExtraOptions to Router in RouterTestingModule (#39096) 2020-10-05 16:35:14 -07:00
recognize.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
route_reuse_strategy.ts fix(router): export DefaultRouteReuseStrategy to Router public_api (#31575) 2020-08-13 16:02:41 -07:00
router.ts refactor(router): Adjust type of parameter in navigateByUrl and createUrlTree to be more accurate (#38227) 2020-09-25 10:36:13 -04:00
router_config_loader.ts refactor(router): extract Router config utils to a separate file (#38229) 2020-07-27 09:49:14 -07:00
router_module.ts fix(router): properly assign ExtraOptions to Router in RouterTestingModule (#39096) 2020-10-05 16:35:14 -07:00
router_outlet_context.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
router_preloader.ts docs(router): fixed PreloadAllModules comment typo (#38758) 2020-09-09 09:07:49 -07:00
router_scroller.ts refactor(router): Add annotations to correct Router documentation (#38448) 2020-08-13 11:36:10 -07:00
router_state.ts docs: update router api documentation (#37980) 2020-07-16 13:52:40 -07:00
shared.ts fix(router): fix error when calling ParamMap.get function (#31599) 2020-06-25 11:57:24 -07:00
url_handling_strategy.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
url_tree.ts fix(router): properly compare array queryParams for equality (#37709) (#37860) 2020-07-06 13:50:32 -07:00
version.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00