angular/packages/core/schematics/migrations/google3
Andrew Kushnir 7bee28d037 feat(router): add a migration to remove relativeLinkResolution usages (#47604)
As of Angular v15, the deprecated `relativeLinkResolution` config option of the Router is removed.  This migration cleans up (removes) the `relativeLinkResolution` fields from the Router config objects in applications code.

```ts
import { RouterModule } from '@angular/router';

RouterModule.forRoot([], {
  relativeLinkResolution: 'legacy',
  enableTracing: false,
});
```

```ts
import { RouterModule } from '@angular/router';

RouterModule.forRoot([], {
  // the `relativeLinkResolution` is removed
  enableTracing: false,
});
```

PR Close #47604
2022-10-07 10:28:42 -07:00
..
BUILD.bazel feat(router): add a migration to remove relativeLinkResolution usages (#47604) 2022-10-07 10:28:42 -07:00
entryComponentsRule.ts feat(core): add migration to remove entryComponents (#44322) 2021-12-01 12:03:14 -08:00
index.ts refactor(migrations): remove old migrations (#44857) 2022-02-01 03:52:26 +00:00
pathMatchTypeRule.ts feat(migrations): Add migration to add explicit Route/Routes type (#45084) 2022-04-04 14:53:45 -07:00
relativeLinkResolutionRule.ts feat(router): add a migration to remove relativeLinkResolution usages (#47604) 2022-10-07 10:28:42 -07:00
typedFormsRule.ts fix(forms): Update the typed forms migration. (#45281) 2022-03-07 12:24:59 -08:00
waitForAsyncRule.ts refactor(migrations): remove no longer accessible migrations (#43947) 2021-10-26 23:59:42 +00:00