4e8c2c3422
Queries can not only be accessed within derived classes, but also in the super class through abstract methods. e.g. ``` abstract class BaseClass { abstract getEmbeddedForm(): NgForm {} ngOnInit() { this.getEmbeddedForm().doSomething(); } } class Subclass extends BaseClass { @ViewChild(NgForm) form: NgForm; getEmbeddedForm() { return this.form; } } ``` Same applies for abstract properties which are implemented in the base class through accessors. This case is also now handled by the schematic. Resolves FW-1213 PR Close #29688 |
||
---|---|---|
.. | ||
google3 | ||
BUILD.bazel | ||
line_mappings_spec.ts | ||
project_tsconfig_paths_spec.ts | ||
static_queries_migration_spec.ts | ||
template_var_assignment_migration_spec.ts |