-
Notifications
You must be signed in to change notification settings - Fork 26.3k
fix(compiler): handle undefined annotation metadata #23349
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
You can preview 24928f1 at https://pr23349-24928f1.ngbuilds.io/. |
In certain cases seen in production, simplify() can returned undefined when simplifying decorator metadata. This has proven tricky to reproduce in an isolated test, but the fix is simple and low-risk: don't attempt to spread an undefined set of annotations in the first place.
You can preview 2893a06 at https://pr23349-2893a06.ngbuilds.io/. |
@alxhub I changed this for master & patch please let me know if this is ok. |
In certain cases seen in production, simplify() can returned undefined when simplifying decorator metadata. This has proven tricky to reproduce in an isolated test, but the fix is simple and low-risk: don't attempt to spread an undefined set of annotations in the first place. PR Close #23349
This reverts commit 70e68ff. Fixed by angular/angular#23349.
This reverts commit 70e68ff. Fixed by angular/angular#23349.
This reverts commit 70e68ff. Fixed by angular/angular#23349.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
In certain cases seen in production, simplify() can returned
undefined when simplifying decorator metadata. This has proven tricky
to reproduce in an isolated test, but the fix is simple and low-risk:
don't attempt to spread an undefined set of annotations in the first
place.
Fixes #23310.