Skip to content

refactor(platform-browser) improve error message for UNEXPECTED_SYNTHETIC_PROPERTY#58983

Closed
DMezhenskyi wants to merge 1 commit intoangular:mainfrom
DMezhenskyi:renderer2-error-message-improvement
Closed

refactor(platform-browser) improve error message for UNEXPECTED_SYNTHETIC_PROPERTY#58983
DMezhenskyi wants to merge 1 commit intoangular:mainfrom
DMezhenskyi:renderer2-error-message-improvement

Conversation

@DMezhenskyi
Copy link
Copy Markdown
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

Improved error message for RuntimeErrorCode.UNEXPECTED_SYNTHETIC_PROPERTY. Added instructions for enabling animations using standalone API.

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

The error message contains instructions on how to configure animation only for Module-based app configuration.

Issue Number: N/A

What is the new behavior?

The error message contains instructions on how to configure animation for Standalone app configuration as well.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@pullapprove pullapprove bot requested a review from AndrewKushnir November 30, 2024 12:41
@pkozlowski-opensource pkozlowski-opensource added the action: merge The PR is ready for merge by the caretaker label Dec 2, 2024
@pkozlowski-opensource pkozlowski-opensource added the target: patch This PR is targeted for the next patch release label Dec 2, 2024
@pkozlowski-opensource pkozlowski-opensource removed the request for review from AndrewKushnir December 2, 2024 09:33
@pkozlowski-opensource pkozlowski-opensource added the area: core Issues related to the framework runtime label Dec 2, 2024
@ngbot ngbot bot added this to the Backlog milestone Dec 2, 2024
@DMezhenskyi DMezhenskyi force-pushed the renderer2-error-message-improvement branch from de36066 to 189c251 Compare December 2, 2024 10:06
@angular-robot angular-robot bot removed the area: core Issues related to the framework runtime label Dec 2, 2024
@ngbot ngbot bot removed this from the Backlog milestone Dec 2, 2024
@pkozlowski-opensource pkozlowski-opensource added the area: core Issues related to the framework runtime label Dec 2, 2024
@ngbot ngbot bot added this to the Backlog milestone Dec 2, 2024
@pkozlowski-opensource pkozlowski-opensource added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: merge The PR is ready for merge by the caretaker merge: fix commit message labels Dec 2, 2024
Copy link
Copy Markdown
Member

@pkozlowski-opensource pkozlowski-opensource left a comment

Choose a reason for hiding this comment

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

It looks like we've got tests verifying the error message (see failing CI jobs) - those will have to be updated as well.

@angular-robot angular-robot bot removed the area: core Issues related to the framework runtime label Dec 13, 2024
@ngbot ngbot bot removed this from the Backlog milestone Dec 13, 2024
@AndrewKushnir AndrewKushnir added area: animations and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Dec 13, 2024
@ngbot ngbot bot added this to the Backlog milestone Dec 13, 2024
@DMezhenskyi DMezhenskyi force-pushed the renderer2-error-message-improvement branch from 10b7e30 to 5bc4794 Compare January 6, 2025 15:56
@AndrewKushnir
Copy link
Copy Markdown
Contributor

@DMezhenskyi could you please merge all commits into the first one (and make sure the commit message body has some content, as described in the lint CI error message)?

@AndrewKushnir AndrewKushnir added the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Jan 6, 2025
…HETIC_PROPERTY

Improve error message by adding instructions for enabling animations using standalone API.
@DMezhenskyi DMezhenskyi force-pushed the renderer2-error-message-improvement branch from 5bc4794 to fc7b34b Compare January 7, 2025 08:33
@DMezhenskyi
Copy link
Copy Markdown
Contributor Author

Hey @AndrewKushnir! Sure, I squashed commits and added the body to the commit message. Hopefully, this time everything will go OK.

@pkozlowski-opensource pkozlowski-opensource added action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Jan 8, 2025
thePunderWoman pushed a commit that referenced this pull request Jan 8, 2025
…HETIC_PROPERTY (#58983)

Improve error message by adding instructions for enabling animations using standalone API.

PR Close #58983
@thePunderWoman
Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit 00cc923.

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

@DMezhenskyi DMezhenskyi deleted the renderer2-error-message-improvement branch January 8, 2025 19:15
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
…HETIC_PROPERTY (angular#58983)

Improve error message by adding instructions for enabling animations using standalone API.

PR Close angular#58983
@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 8, 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: animations target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants