angular-docs-cn/packages/core/schematics/migrations
Paul Gschwendtner 6357d4a0d3 fix(core): static-query migration fails with default parameter values (#30269)
Currently when someone has a call expression within the `ngOnInit` call
and we try to peek into that function with respect to the current function
context, the schematic errors because a call expression argument is
undefined. This is valid because the target function declaration defines
that parameter with a default value. In order to fix this, we need to
respect parameter default values.

PR Close #30269
2019-05-08 11:54:33 -07:00
..
injectable-pipe fix(ivy): injectable pipe schematic generating incorrect import statements (#30170) 2019-04-29 09:39:11 -07:00
move-document refactor(core): static-query migration should not fail for test files (#30034) 2019-04-23 08:32:35 -07:00
static-queries fix(core): static-query migration fails with default parameter values (#30269) 2019-05-08 11:54:33 -07:00
template-var-assignment fix(core): static-query migration should not prompt if no queries are used (#30254) 2019-05-08 09:22:48 -07:00