angular-docs-cn/packages/core/schematics/migrations/google3
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
..
BUILD.bazel feat(core): Add schematic to fix invalid `Route` configs (#40067) 2021-01-05 10:09:28 -08:00
canActivateWithRedirectToRule.ts feat(core): Add schematic to fix invalid `Route` configs (#40067) 2021-01-05 10:09:28 -08:00
dynamicQueriesRule.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
explicitQueryTimingRule.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
initialNavigationRule.ts fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
navigationExtrasOmissionsRule.ts feat(router): add migration to update calls to navigateByUrl and createUrlTree with invalid parameters (#38825) 2020-09-16 15:16:18 -07:00
noMissingInjectableRule.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
noTemplateVariableAssignmentRule.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
relativeLinkResolutionDefaultRule.ts feat(router): Add `relativeLinkResolution` migration to update default value (#38698) 2020-09-23 15:45:37 -04:00
rendererToRenderer2Rule.ts feat(core): add automated migration to replace async with waitForAsync (#39212) 2020-10-13 09:55:34 -07:00
undecoratedClassesWithDecoratedFieldsRule.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
waitForAsyncRule.ts feat(core): add automated migration to replace async with waitForAsync (#39212) 2020-10-13 09:55:34 -07:00