Skip to content

Conversation

@devversion
Copy link
Member

This commit is similar to 98ed5b6, and makes use of the preparation work implemented there.

Similar to directives and components marked via jit: true, we also need to do the same for JIT marked @NgModule classes. This is mostly important for downleveling of decorators to support dependency injection of such classes.

Inside Google3, migrating from ts_library to ng_module turns of decorator downleveling, so the jit: true for NgModule's is implicitly requesting/reliant on this transform— as expected.

@devversion devversion added action: review The PR is still awaiting reviews from at least one requested reviewer target: minor This PR is targeted for the next minor release labels Jul 31, 2024
@devversion devversion requested a review from JoostK July 31, 2024 13:30
…t: true`

This commit is similar to 98ed5b6, and
makes use of the preparation work implemented there.

Similar to directives and components marked via `jit: true`, we also
need to do the same for JIT marked `@NgModule` classes. This is mostly
important for downleveling of decorators to support dependency injection
of such classes.

Inside Google3, migrating from `ts_library` to `ng_module` turns of
decorator downleveling, so the `jit: true` for NgModule's is implicitly
requesting/reliant on this transform— as expected.
@devversion devversion added action: merge The PR is ready for merge by the caretaker area: compiler Issues related to `ngc`, Angular's template compiler and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jul 31, 2024
@ngbot ngbot bot modified the milestone: Backlog Jul 31, 2024
@thePunderWoman
Copy link
Contributor

This PR was merged into the repository by commit e11c0c4.

The changes were merged into the following branches: main

@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 Aug 31, 2024
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 area: compiler Issues related to `ngc`, Angular's template compiler target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants