angular-cn/packages/core/schematics/migrations/static-queries/angular
Paul Gschwendtner 0ffdb48f62 fix(core): static-query migration should handle queries on accessors (#30327)
Currently the static-query migration ignores queries declared on getters
or setters as these are not part of a `PropertyDeclaration`. We need to
handle these queries in order to cover all queries within a given project.

The usage strategy is not able to detect timing for queries on accessors,
so we add a TODO and print a message. The template strategy is able
to detect the proper timing for such queries because it's not dependent
on detecting the usage of the query.

Resolves FW-1215

PR Close #30327
2019-05-09 11:22:37 -07:00
..
directive_inputs.ts fix(core): static-query migration fails with default parameter values (#30269) 2019-05-08 11:54:33 -07:00
ng_query_visitor.ts fix(core): static-query migration should handle queries on accessors (#30327) 2019-05-09 11:22:37 -07:00
query-definition.ts fix(core): static-query migration should handle queries on accessors (#30327) 2019-05-09 11:22:37 -07:00
super_class.ts refactor(core): move usage detection into usage strategy (#29815) 2019-04-15 10:53:53 -07:00