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

Bun Error: Cannot use 'let' as an identifier name for a LexicalDeclaration #499

Open
pubkey opened this issue Jan 2, 2025 · 1 comment

Comments

@pubkey
Copy link
Contributor

pubkey commented Jan 2, 2025

When using mingo in the bun runtime, we get an error because let is used as a keyword which should not be done:

bun

Can we rename that property, this would be the easiest way to fix it?

@kofrasa
Copy link
Owner

kofrasa commented Jan 4, 2025

Seems like an issue with the bun runtime given that is valid TypeScript. Renaming the property would deviate from the API for $lookup as specified in MongoDB documentation.

Consider opening an issue with the bun project. https://github.com/oven-sh/bun/issues

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

No branches or pull requests

2 participants