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
When NestFactory is used to build a microservice app, and then init is called for it, any attempt to send a message through the EventBus will result in the EventsListener's being called twice with the event.
Is there an existing issue for this?
Current behavior
When
NestFactory
is used to build a microservice app, and theninit
is called for it, any attempt to send a message through theEventBus
will result in theEventsListener
's being called twice with the event.Minimum reproduction code
https://gist.github.com/ivcosla/908e717af746801787cced1f80c1c327
Steps to reproduce
Expected behavior
The
EventsHandler's
for the emitted event should be called only once.Package version
10.0.0
NestJS version
10.0.0
Node.js version
20.3.0
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: