-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ngInjectorDef generation in JIT and AOT #24632
Conversation
You can preview 9c7d657 at https://pr24632-9c7d657.ngbuilds.io/. |
You can preview 73c82cd at https://pr24632-73c82cd.ngbuilds.io/. |
You can preview db3f5da at https://pr24632-db3f5da.ngbuilds.io/. |
You can preview 92d60f7 at https://pr24632-92d60f7.ngbuilds.io/. |
You can preview 1bde04f at https://pr24632-1bde04f.ngbuilds.io/. |
This change generates ngInjectorDef as well as ngModuleDef for @NgModule annotated types, reflecting the dual nature of @ngModules as both compilation scopes and as DI configuration containers. This required implementing ngInjectorDef compilation in @angular/compiler as well as allowing for multiple generated definitions for a single decorator in the core of ngtsc.
This commit takes advantage of the @angular/compiler work for ngInjectorDef in AOT mode in order to generate the same definition in JIT mode.
You can preview 4eaa484 at https://pr24632-4eaa484.ngbuilds.io/. |
This commit takes advantage of the @angular/compiler work for ngInjectorDef in AOT mode in order to generate the same definition in JIT mode. PR Close #24632
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.