Skip to content

GetConstructorName cannot handle Angular#164

Merged
codercatdev merged 4 commits intoQwikDev:mainfrom
DanteDeRuwe:DanteDeRuwe-patch-1
May 2, 2022
Merged

GetConstructorName cannot handle Angular#164
codercatdev merged 4 commits intoQwikDev:mainfrom
DanteDeRuwe:DanteDeRuwe-patch-1

Conversation

@DanteDeRuwe
Copy link
Copy Markdown
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 QwikDev#97

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

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 QwikDev: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