angular-cn/packages/core/schematics/test
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
..
google3 feat(core): Add schematic to fix invalid `Route` configs (#40067) 2021-01-05 10:09:28 -08:00
BUILD.bazel feat(core): Add schematic to fix invalid `Route` configs (#40067) 2021-01-05 10:09:28 -08:00
abstract_control_parent_migration_spec.ts
all-migrations.spec.ts
can_activate_with_redirect_migration_spec.ts feat(core): Add schematic to fix invalid `Route` configs (#40067) 2021-01-05 10:09:28 -08:00
dynamic_queries_migration_spec.ts
helpers.ts
initial_navigation_migration_spec.ts
line_mappings_spec.ts
missing_injectable_migration_spec.ts
module_with_providers_migration_spec.ts
move_document_migration_spec.ts
native_view_encapsulation_migration_spec.ts
navigation_extras_omissions_migration_spec.ts
preserve_query_params_migration_spec.ts fix(router): migration incorrectly replacing deprecated key (#39763) 2020-11-19 09:08:10 -08:00
project_tsconfig_paths_spec.ts
relative_link_resolution_spec.ts
renderer_to_renderer2_migration_spec.ts
static_queries_migration_template_spec.ts
static_queries_migration_usage_spec.ts
template_var_assignment_migration_spec.ts
undecorated_classes_with_decorated_fields_migration_spec.ts
undecorated_classes_with_di_migration_spec.ts
wait_for_async_migration_spec.ts