Skip to content
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

Closed
wants to merge 3 commits into from

Conversation

alxhub
Copy link
Member

@alxhub alxhub commented Jun 22, 2018

No description provided.

@mary-poppins
Copy link

You can preview 9c7d657 at https://pr24632-9c7d657.ngbuilds.io/.

@mary-poppins
Copy link

You can preview 73c82cd at https://pr24632-73c82cd.ngbuilds.io/.

@mary-poppins
Copy link

You can preview db3f5da at https://pr24632-db3f5da.ngbuilds.io/.

@mary-poppins
Copy link

You can preview 92d60f7 at https://pr24632-92d60f7.ngbuilds.io/.

@mary-poppins
Copy link

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.
@mary-poppins
Copy link

You can preview 4eaa484 at https://pr24632-4eaa484.ngbuilds.io/.

@alxhub alxhub added action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release labels Jun 26, 2018
@jasonaden jasonaden closed this in ae9418c Jun 26, 2018
jasonaden pushed a commit that referenced this pull request Jun 26, 2018
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
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants