Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(compiler-cli): support host directives with direct external references in fast type declaration emission #61469

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

Conversation

jonathan-meier
Copy link

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

External references in host directives are not supported at all in the initial implementation for experimental fast type declaration emission introduced in e62fb35.

What is the new behavior?

Direct external references in host directives are supported in experimental fast type declaration emission, likely covering the majority of cases as using other expressions to define host directives seems to be the exception.

Does this PR introduce a breaking change?

  • Yes
  • No

@pullapprove pullapprove bot requested a review from kirjs May 19, 2025 13:37
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: compiler Issues related to `ngc`, Angular's template compiler labels May 19, 2025
@ngbot ngbot bot added this to the Backlog milestone May 19, 2025
@jonathan-meier jonathan-meier force-pushed the support_direct_external_references_as_host_directives_in_experimental_declaration_only_emission_b416702881 branch from 0e7865c to 9428d3b Compare May 19, 2025 13:53
…rences in fast type declaration emission

In the initial implementation for experimental fast type declaration
emission introduced in e62fb35, external references in host directives
were not supported at all.

This change adds support for direct external references in host
directives. Any other expressions indirectly using external references
are still not supported.
@jonathan-meier jonathan-meier force-pushed the support_direct_external_references_as_host_directives_in_experimental_declaration_only_emission_b416702881 branch from 9428d3b to 552f871 Compare May 19, 2025 13:56
@devversion devversion requested review from devversion and alxhub and removed request for kirjs May 20, 2025 15:22
@devversion devversion added the action: merge The PR is ready for merge by the caretaker label May 21, 2025
@devversion devversion removed the request for review from alxhub May 21, 2025 13:01
@ngbot

This comment was marked as outdated.

@devversion devversion added target: rc This PR is targeted for the next release-candidate hotlist: google target: minor This PR is targeted for the next minor release and removed target: rc This PR is targeted for the next release-candidate labels May 21, 2025
@thePunderWoman
Copy link
Contributor

This PR was merged into the repository by commit 0cf1001.

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 Jun 21, 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 detected: feature PR contains a feature commit hotlist: google 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