angular-cn/packages/core/schematics/migrations/static-queries/strategies
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
..
template_strategy fix(core): static-query migration should gracefully exit if AOT compiler throws (#30269) 2019-05-08 11:54:33 -07:00
test_strategy fix(core): static-query migration should gracefully exit if AOT compiler throws (#30269) 2019-05-08 11:54:33 -07:00
usage_strategy fix(core): static-query migration should gracefully exit if AOT compiler throws (#30269) 2019-05-08 11:54:33 -07:00
timing-strategy.ts fix(core): static-query migration should gracefully exit if AOT compiler throws (#30269) 2019-05-08 11:54:33 -07:00