Skip to content
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

GetConstructorName cannot handle Angular #164

Merged
merged 4 commits into from May 2, 2022

Conversation

DanteDeRuwe
Copy link
Contributor

This is a solution for, and should close #97

Angular has zone.js and the constructor names cannot be fetched from there

This is a solution for, and should close BuilderIO#97

Angular has zone.js and the constructor names cannot be fetched from there
@vercel
Copy link

vercel bot commented Apr 28, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
partytown ✅ Ready (Inspect) Visit Preview May 2, 2022 at 3:56PM (UTC)

@DanteDeRuwe
Copy link
Contributor Author

Excuse me for the "bad quality PR", but this shows the way it can be done. I lack the time and insight to make this a clean fix.

Copy link
Contributor

@codercatdev codercatdev left a comment

Choose a reason for hiding this comment

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

This looks good, I think we should take the opportunity to at least add a console.error within the catch. What do you think @adamdbradley?

@DanteDeRuwe
Copy link
Contributor Author

With the notion of this being a potentially good fix, I spent some time fixing the build errors as a result of the typing; and making the fix a little bit cleaner. Feel free to come back to me with any logging changes; or add them to the PR.

@codercatdev codercatdev merged commit 9203bbf into BuilderIO:main May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem with the zone.js (Angular 13)
3 participants