Skip to content

Conversation

@SkyZeroZx
Copy link
Contributor

… guard

Guards the type check against exceptions from objects with throwing property getters, ensuring robust error handling.

fixes #66784

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?

Issue Number: #66784

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@angular-robot angular-robot bot added the area: core Issues related to the framework runtime label Jan 28, 2026
@ngbot ngbot bot added this to the Backlog milestone Jan 28, 2026
… guard

Guards the type check against exceptions from objects with
throwing property getters, ensuring robust error handling.

fixes angular#66784
@SkyZeroZx SkyZeroZx force-pushed the core/fix-name-prop-throw branch from 57092a2 to 4f2cd47 Compare January 28, 2026 03:48
@SkyZeroZx SkyZeroZx marked this pull request as ready for review January 28, 2026 03:49
@pullapprove pullapprove bot added the requires: TGP This PR requires a passing TGP before merging is allowed label Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Issues related to the framework runtime requires: TGP This PR requires a passing TGP before merging is allowed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

inject() throws if the returned object has a name property that throws

2 participants