angular/packages/core
Kristiyan Kostadinov 5f9c7ceb90 fix(core): unable to inject ChangeDetectorRef inside host directives (#48355)
When injecting the `ChangeDetectorRef` into a node that matches a component, we create a new ref using the component's LView. This breaks down for host directives, because they run before the component's LView has been created.

These changes resolve the issue by creating the LView before creating the node injector for the directives.

Fixes #48249.

PR Close #48355
2022-12-07 09:06:46 -08:00
..
global build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
schematics feat(core): support TypeScript 4.9 (#48005) 2022-12-06 10:45:33 -08:00
src fix(core): unable to inject ChangeDetectorRef inside host directives (#48355) 2022-12-07 09:06:46 -08:00
test fix(core): unable to inject ChangeDetectorRef inside host directives (#48355) 2022-12-07 09:06:46 -08:00
testing feat(core): Add TestBed.runInInjectionContext to help test functions which use inject (#47955) 2022-11-22 16:53:41 -08:00
BUILD.bazel build(bazel): create AIO example playgrounds for manual testing 2022-11-22 13:51:16 -07:00
index.ts refactor(core): made comment structure consistent in index.ts (#43684) 2021-10-21 18:39:58 +00:00
package.json fix(core): add zone.js version 0.12.x as a valid peer dependency (#48002) 2022-11-09 09:54:10 -08:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00