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
Queue decorator has require params. #70
Comments
Hi @klerick |
@fwoelffel |
Ok I understand your concern. However, if you look at https://github.com/fwoelffel/nest-bull/blob/dev/lib/bull.explorer.ts#L98 and https://github.com/fwoelffel/nest-bull/blob/dev/lib/bull.utils.ts#L1 you'll understand that I'll wait for a few days before closing this issue and I'll take a closer look at it if you find the time to provide some reproducibility code or if someone else can confirm. |
Firstly, yes, there is a value used by default. However if the name of a queue is set during the module configuration, then we have an error for the default value. I assume that it needs to return a more detailed error of what is going on. For example,
or add details to the documentation. Secondly, a decorator
but
tries to get a property |
Damn! I'm so dumb. Yeah you're right. I'll fix this tonight. I'm sorry for the trouble. |
it happens. All that matters is that we’ve figured it out :) |
New release published as 0.6.2 |
But if use it without params we get error and wrong interface signature.
https://github.com/fwoelffel/nest-bull/blob/dev/lib/bull.explorer.ts#L30
The text was updated successfully, but these errors were encountered: