馃悶 bug report
Affected Package
The issue is caused by package @angular/core (schematics)
Is this a regression?
No
Description
When updating from v10 to v11, the "router-preserve-query-params" migration is executed.
This migration replaces uses of preserveQueryParams by queryParamsHandler, while it should be queryParamsHandling.
The issue was introduced in #38762
Issue is located here
|
ts.createPropertyAssignment('queryParamsHandler', ts.createIdentifier(`'preserve'`)))); |
馃敩 Minimal Reproduction
Not applicable
馃敟 Exception or Error
Not applicable
馃實 Your Environment
Angular Version:
Angular CLI: 11.0.2
Node: 14.12.0
OS: darwin x64
Angular: 11.0.1
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes
Package Version
------------------------------------------------------------
@angular-devkit/architect 0.1100.2
@angular-devkit/build-angular 0.1100.2
@angular-devkit/core 11.0.2
@angular-devkit/schematics 11.0.2
@angular/cdk 10.2.7
@angular/cli 11.0.2
@angular/material 10.2.7
@angular/material-moment-adapter 10.2.7
@schematics/angular 11.0.2
@schematics/update 0.1100.2
rxjs 6.5.5
typescript 4.0.5
Anything else relevant?
馃悶 bug report
Affected Package
The issue is caused by package @angular/core (schematics)Is this a regression?
NoDescription
When updating from v10 to v11, the "router-preserve-query-params" migration is executed.This migration replaces uses of
preserveQueryParamsbyqueryParamsHandler, while it should bequeryParamsHandling.The issue was introduced in #38762
Issue is located here
angular/packages/core/schematics/migrations/router-preserve-query-params/util.ts
Line 59 in b0a8b69
馃敩 Minimal Reproduction
Not applicable
馃敟 Exception or Error
Not applicable
馃實 Your Environment
Angular Version:
Anything else relevant?