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

fix(compiler): include used components during JIT compilation of partial component declaration #41353

Closed
wants to merge 1 commit into from

Conversation

JoostK
Copy link
Member

@JoostK JoostK commented Mar 26, 2021

In #41104 the list of used directives was split into two arrays of used
directives and components, but the JIT side was not updated. This commit
fixes the JIT integration by including the list of used components.

Fixes #41318


This is only targeting major as partial declarations are not supported in v11.

@JoostK JoostK added target: major This PR is targeted for the next major release P2 The issue is important to a large percentage of users, with a workaround compiler: linker labels Mar 26, 2021
@google-cla google-cla bot added the cla: yes label Mar 26, 2021
@JoostK JoostK added this to In progress in ng-linker via automation Mar 26, 2021
@JoostK JoostK marked this pull request as ready for review March 30, 2021 20:57
@JoostK JoostK added the action: review The PR is still awaiting reviews from at least one requested reviewer label Mar 30, 2021
@pullapprove pullapprove bot requested a review from atscott March 30, 2021 20:57
Copy link
Member

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - other than the conflict.

…ial component declaration

In angular#41104 the list of used directives was split into two arrays of used
directives and components, but the JIT side was not updated. This commit
fixes the JIT integration by including the list of used components.

Fixes angular#41318
@atscott
Copy link
Contributor

atscott commented Mar 31, 2021

presubmit

@JoostK JoostK added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 31, 2021
@alxhub alxhub closed this in ff9470b Apr 1, 2021
ng-linker automation moved this from In progress to Done Apr 1, 2021
TeriGlover pushed a commit to TeriGlover/angular that referenced this pull request Apr 5, 2021
…ial component declaration (angular#41353)

In angular#41104 the list of used directives was split into two arrays of used
directives and components, but the JIT side was not updated. This commit
fixes the JIT integration by including the list of used components.

Fixes angular#41318

PR Close angular#41353
@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 May 2, 2021
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 compiler: linker P2 The issue is important to a large percentage of users, with a workaround target: major This PR is targeted for the next major release
Projects
No open projects
ng-linker
  
Done
Development

Successfully merging this pull request may close these issues.

linker: JIT compilation of ngDeclareComponent does not handle components array
3 participants