angular-cn/packages/core/schematics/migrations/static-queries
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
..
angular fix(core): static-query migration fails with default parameter values (#30269) 2019-05-08 11:54:33 -07:00
google3 fix(core): static-query migration should not prompt if no queries are used (#30254) 2019-05-08 09:22:48 -07:00
strategies fix(core): static-query migration should gracefully exit if AOT compiler throws (#30269) 2019-05-08 11:54:33 -07:00
BUILD.bazel refactor(core): allow developers to select static-query migration strategy (#29876) 2019-04-18 18:22:09 -07:00
index.ts fix(core): static-query migration should gracefully exit if AOT compiler throws (#30269) 2019-05-08 11:54:33 -07:00
strategy_prompt.ts fix(core): static-query migration should not prompt if no queries are used (#30254) 2019-05-08 09:22:48 -07:00
transform.ts refactor(core): static-query migrations fails if options cannot be transformed (#30178) 2019-04-29 13:30:37 -07:00