-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
ES module support #78
Comments
Thanks for reporting! Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If it involves more than a couple of different file, create a new repository on GitHub and add a link to that. |
Here's my reproduction https://github.com/Gusb3ll/mqemitter-issue |
Can you simplify this by removing Nest.js? I'm not familiar with it and it makes this significantly harder to fix. A PR would also be highly welcomed. |
I'm pretty sure the issue I'm running into is the same root cause wrt problems using this under ESM only. The check under https://arethetypeswrong.github.io/?p=mqemitter-redis%406.0.0 shows: ...with a suggested fix. |
A PR would be ok |
I wanted to use mqemitter with my graphql mercurius here's my implementation
but after I use it in the mercurius config I got these errors
TypeError: (0 , mqemitter_redis_1.default) is not a function
so I can't import it as an ES module, I'm wondering is there any planned support for it. Tysm 🙏
The text was updated successfully, but these errors were encountered: