Re: [aurelia/aurelia] aurelia/metadata conflicts with reflect-metadata which is required by typeorm (#902)

From: notifications@github.com
Domain: IP info github.com
MX-server: IP info out-11.smtp.github.com
Size: 2447 Bytes
Create: 2020-07-04
Update: 2020-07-04
Score: 0
Safe: Yes

Outbound domains: github.com |

Fixed by #907

You can override reflect-metadata by putting this at the top of your entry file:

import { applyMetadataPolyfill } from '@aurelia/metadata';
applyMetadataPolyfill(Reflect, false, true, false, false);

This should be a safe thing to do, as our implementation is more permissive than reflect-metadata and also has more tests verifying those situations.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Want to protect your real email from messages like this? Use TempM email and be more secure on the internet.