GithubHelp home page GithubHelp logo

Comments (6)

fwoelffel avatar fwoelffel commented on April 24, 2024 1

Hi guys.
Thanks @smonv for the repro. I'll look into this ASAP because what you're both reproting isn't the expected behavior at all.

@stevenolay You can use this workaround until this is all fixed.

from bull.

smonv avatar smonv commented on April 24, 2024 1

@fwoelffel Thank for quick reply, hope you can identify the problem soon.

Currently my workaround is create new module, define and re-export all my queue in it like this solution. After that other module can inject the queue to service

from bull.

kamilmysliwiec avatar kamilmysliwiec commented on April 24, 2024 1

Fixed. This change will be published as @nestjs/bull shortly

from bull.

stevenolay avatar stevenolay commented on April 24, 2024

I'm getting this same issue. This wasn't an issue on older Nest Bull versions... but seeing this now

from bull.

stevenolay avatar stevenolay commented on April 24, 2024

I believe it has something to do with the @processor and @process decorators. I cloned your project and commented out the import for the processor and the project successfully built.

Very unfortunate since the decorators really help clean up the code. I guess I'll need to revert to doing it manually. IE. Injecting the queue in the service. in the constructor manually registering the process function callback. by doing injectedQueue.process(this.processingFunction())

from bull.

stevenolay avatar stevenolay commented on April 24, 2024

from bull.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.