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

[BUG] esbuild doesn't support reflect-metadata #251

Open
xShadowBlade opened this issue Sep 5, 2024 · 0 comments
Open

[BUG] esbuild doesn't support reflect-metadata #251

xShadowBlade opened this issue Sep 5, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@xShadowBlade
Copy link
Owner

Describe the bug
esbuild does not support emitDecoratorMetadata, which is required for reflect-metadata. This causes problems with class-transformer where certain class properties don't retain their metadata about transformations.

This problem is inherent to esbuild. An alternative would be to use another transpiler, such as tsc or swc.

To Reproduce
N/A

Expected behavior
N/A

Screenshots
N/A

Desktop (please complete the following information):
N/A

Additional context
N/A

@xShadowBlade xShadowBlade added bug Something isn't working enhancement New feature or request labels Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant