You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SandboxedJob interface is missing the queueName prop. However, it is already a part of the actual sandboxedJob object. This is even enforced by typescript as JobJsonSandbox has both queueName and prefix as additional data. This is happening because SandboxedJob is defined in terms of JobJson instead of JobJsonSandbox.
How to reproduce.
import{SandboxedJob}from'bullmq'exportdefaultasync(sandboxedJob: SandboxedJob)=>{awaitjob.log('Working on job from',sandboxedJob.queueName)}
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Version
5.3.0
Platform
NodeJS
What happened?
The
SandboxedJob
interface is missing thequeueName
prop. However, it is already a part of the actualsandboxedJob
object. This is even enforced by typescript asJobJsonSandbox
has bothqueueName
andprefix
as additional data. This is happening becauseSandboxedJob
is defined in terms ofJobJson
instead ofJobJsonSandbox
.How to reproduce.
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: