Skip to content

fix(compiler-cli): handle more node types when extracting dependencies#59445

Closed
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:more-hmr-deps
Closed

fix(compiler-cli): handle more node types when extracting dependencies#59445
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:more-hmr-deps

Conversation

@crisbeto
Copy link
Copy Markdown
Member

@crisbeto crisbeto commented Jan 9, 2025

Fixes that the HMR dependency extraction logic wasn't handling some node types. Most of these are a bit edge-case-ey in component definitions, but variable initializers and arrow functions can realistically happen in factories.

@crisbeto crisbeto added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Jan 9, 2025
@crisbeto crisbeto requested a review from clydin January 9, 2025 10:07
Fixes that the HMR dependency extraction logic wasn't handling some node types. Most of these are a bit edge-case-ey in component definitions, but variable initializers and arrow functions can realistically happen in factories.
@kirjs kirjs added the area: compiler Issues related to `ngc`, Angular's template compiler label Jan 9, 2025
@ngbot ngbot bot added this to the Backlog milestone Jan 9, 2025
@crisbeto crisbeto 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 Jan 9, 2025
@kirjs
Copy link
Copy Markdown
Contributor

kirjs commented Jan 9, 2025

This PR was merged into the repository by commit 3638f93.

The changes were merged into the following branches: main, 19.0.x, 19.1.x

kirjs pushed a commit that referenced this pull request Jan 9, 2025
#59445)

Fixes that the HMR dependency extraction logic wasn't handling some node types. Most of these are a bit edge-case-ey in component definitions, but variable initializers and arrow functions can realistically happen in factories.

PR Close #59445
@kirjs kirjs closed this in 3638f93 Jan 9, 2025
kirjs pushed a commit that referenced this pull request Jan 9, 2025
#59445)

Fixes that the HMR dependency extraction logic wasn't handling some node types. Most of these are a bit edge-case-ey in component definitions, but variable initializers and arrow functions can realistically happen in factories.

PR Close #59445
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
angular#59445)

Fixes that the HMR dependency extraction logic wasn't handling some node types. Most of these are a bit edge-case-ey in component definitions, but variable initializers and arrow functions can realistically happen in factories.

PR Close angular#59445
@angular-automatic-lock-bot
Copy link
Copy Markdown

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 Feb 9, 2025
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: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants