angular-cn/packages/core/schematics/migrations
Paul Gschwendtner 509352fc36 fix(core): static-query migration should gracefully exit if AOT compiler throws (#30269)
The static-query template strategy leverages the AOT compiler
in order to determine the query timing. Unfortunately the AOT
compiler has open bugs that can cause unexpected failures which
make the template strategy unusable in rare cases. These rare
exceptions need to be handled gracefully in order to avoid confusion
and to provide a more smooth migration.

Additionally migration strategy setup failures are now reported with
stack traces as the `ng update` command does not print stack traces.
This makes it easier to reproduce and report migration issues.

PR Close #30269
2019-05-08 11:54:33 -07:00
..
injectable-pipe fix(core): migrations not always migrating all files (#30269) 2019-05-08 11:54:33 -07:00
move-document fix(core): migrations not always migrating all files (#30269) 2019-05-08 11:54:33 -07:00
static-queries fix(core): static-query migration should gracefully exit if AOT compiler throws (#30269) 2019-05-08 11:54:33 -07:00
template-var-assignment fix(core): migrations not always migrating all files (#30269) 2019-05-08 11:54:33 -07:00