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

Skip to content

fix(compiler-cli): Fix structural directive binding to only include microsyntax inputs. #62030

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ogabz12345
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?

Prior to this change the template type-check generator would incorrectly apply inputs and attributes to a structural directive, where only the bindings as present in microsyntax are actually bound to the directive. This introduced a problem where usages of template variables could not be resolved, because the template variables are out-of-scope of the template element itself.

Closes #49931

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Copy link

google-cla bot commented Jun 12, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@pullapprove pullapprove bot requested a review from crisbeto June 12, 2025 14:26
@pkozlowski-opensource pkozlowski-opensource added the area: compiler Issues related to `ngc`, Angular's template compiler label Jun 13, 2025
@ngbot ngbot bot added this to the Backlog milestone Jun 13, 2025
@JeanMeche
Copy link
Member

We still need you to sign the CLA with the email authoring the commit : ola*******abi​@brillpower.com

@ogabz12345
Copy link
Author

@JeanMeche all done..

@google-cla google-cla bot added cla: yes and removed cla: no labels Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: compiler Issues related to `ngc`, Angular's template compiler cla: yes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uninformative error message with ngForTrackBy - Error: Could not resolve [object Object] / undefined
3 participants