angular-cn/packages/core/schematics/test
Paul Gschwendtner 33016b8929 fix(core): static-query schematic should detect static queries in getters. (#29609)
Queries can also be statically accessed within getters. e.g.

```ts
ngOnInit() {
  this.myQueryGetter.doSomething();
}
```

In that case we need to check if the `myQueryGetter` definition accesses
a query statically. As we need to use the type checker for every property acess
within lifecylce hooks, the schematic might become slower than before, but considering
that this is a one-time execution, it is totally fine using the type-checker extensively.

PR Close #29609
2019-04-01 10:58:51 -07:00
..
google3 refactor(core): fix misleading tslint schematic message (#29320) 2019-03-18 17:37:45 -04:00
BUILD.bazel refactor(core): add tslint rule entry-point for static-query migration (#29258) 2019-03-14 16:02:37 -04:00
project_tsconfig_paths_spec.ts refactor(core): static-query schematic should not run multiple times (#29133) 2019-03-12 12:28:14 -07:00
static_queries_migration_spec.ts fix(core): static-query schematic should detect static queries in getters. (#29609) 2019-04-01 10:58:51 -07:00