1102b02406
Currently the static-query schematic is not able to properly handle call expressions that pass function declarations that access a given query. e.g. ```ts ngOnInit() { this._callFunction(() => this.myQuery.doSomething()); } _callFunction(cb: any) { cb(); } ``` In that case the passed function is executed synchronously in the "ngOnInit" lifecycle and therefore the query needs to be detected as "static". We can fix this by keeping track of the current function context and using it to resolve identifiers to the passed arguments. PR Close #29663 |
||
---|---|---|
.. | ||
migrations | ||
test | ||
utils | ||
BUILD.bazel | ||
migrations.json | ||
tsconfig.json |