angular-cn/packages/core/schematics/migrations
Andrew Scott 805b4f936b feat(core): Add schematic to fix invalid `Route` configs (#40067)
`Route` configs with `redirectTo` as well as `canActivate` are not valid
because the `canActivate` guards will never execute. Redirects are
applied before activation. There is no error currently for these
configs, but another commit will change this so that an error does
appear in dev mode. This migration fixes the configs by removing the
`canActivate` property.

PR Close #40067
2021-01-05 10:09:28 -08:00
..
abstract-control-parent fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
can-activate-with-redirect-to feat(core): Add schematic to fix invalid `Route` configs (#40067) 2021-01-05 10:09:28 -08:00
dynamic-queries fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
google3 feat(core): Add schematic to fix invalid `Route` configs (#40067) 2021-01-05 10:09:28 -08:00
initial-navigation fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
missing-injectable fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
module-with-providers fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
move-document fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
native-view-encapsulation fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
navigation-extras-omissions fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
relative-link-resolution fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
renderer-to-renderer2 fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
router-preserve-query-params fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
static-queries fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
template-var-assignment fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
undecorated-classes-with-decorated-fields fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
undecorated-classes-with-di fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
wait-for-async fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00