angular-docs-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 feat(forms): add migration for AbstractControl.parent accesses (#39009) 2020-10-06 13:55:25 -07:00
all-migrations.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
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 build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
helpers.ts fix(migrations): do not incorrectly add todo for @Injectable or @Pipe (#37732) 2020-06-25 14:22:08 -07:00
initial_navigation_migration_spec.ts feat(core): add initialNavigation schematic (#36926) 2020-10-14 12:01:07 -07:00
line_mappings_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
missing_injectable_migration_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
module_with_providers_migration_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
move_document_migration_spec.ts build: update to @angular/cli@11.0.0-rc.0 (#39432) 2020-10-29 13:47:12 -07:00
native_view_encapsulation_migration_spec.ts feat(core): add automated migration to replace ViewEncapsulation.Native (#38882) 2020-10-08 11:56:03 -07:00
navigation_extras_omissions_migration_spec.ts feat(router): add migration to update calls to navigateByUrl and createUrlTree with invalid parameters (#38825) 2020-09-16 15:16:18 -07:00
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 build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
relative_link_resolution_spec.ts fix(core): migrate relative link resolution with single quotes (#39102) 2020-10-08 10:10:07 -07:00
renderer_to_renderer2_migration_spec.ts feat(router): add migration to update calls to navigateByUrl and createUrlTree with invalid parameters (#38825) 2020-09-16 15:16:18 -07:00
static_queries_migration_template_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
static_queries_migration_usage_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
template_var_assignment_migration_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
undecorated_classes_with_decorated_fields_migration_spec.ts fix(migrations): do not incorrectly add todo for @Injectable or @Pipe (#37732) 2020-06-25 14:22:08 -07:00
undecorated_classes_with_di_migration_spec.ts build: update to @angular/cli@11.0.0-rc.0 (#39432) 2020-10-29 13:47:12 -07:00
wait_for_async_migration_spec.ts feat(core): add automated migration to replace async with waitForAsync (#39212) 2020-10-13 09:55:34 -07:00