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

Error when working with another polyfill, like core-js/reflect #78

Closed
k1r0s opened this issue Aug 7, 2017 · 1 comment
Closed

Error when working with another polyfill, like core-js/reflect #78

k1r0s opened this issue Aug 7, 2017 · 1 comment

Comments

@k1r0s
Copy link

k1r0s commented Aug 7, 2017

Angular2+ uses core-js/reflect as reflection utility. My library uses reflect-metadata.

Problem is this library overrides Reflect global object causing errors in Angular decorator factory API.

As you can see in the image below, overriding reflection global object can mess other libraries. Would be better solution check if that object is already defined before reasigning

image

@rbuckton
Copy link
Owner

Fixed in 69f4359

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants