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
Is there an existing issue that is already proposing this?
I have searched the existing issues
Is your feature request related to a problem? Please describe it
When utilizing onApplicationBootstrap / onModuleInit and consuming app's functionality inside Microservices, it is important to clarify that the order of the bootstrap lines plays an essential role:
The lifecycle events will complete before the microservices have started.
We had a bug when our application started and a microservice was immediately consumed, before our Promises from modules' OnModuleInit functions have finished.
Describe the solution you'd like
Explain that lifecycle events happen when you call listen and not create
Explain that the order of startAllMicroservices and listen is crucial
Is there an existing issue that is already proposing this?
Is your feature request related to a problem? Please describe it
When utilizing
onApplicationBootstrap
/onModuleInit
and consuming app's functionality inside Microservices, it is important to clarify that the order of the bootstrap lines plays an essential role:For example:
The lifecycle events will complete after the microservices have started.
The lifecycle events will complete before the microservices have started.
We had a bug when our application started and a microservice was immediately consumed, before our Promises from modules' OnModuleInit functions have finished.
Describe the solution you'd like
listen
and notcreate
startAllMicroservices
andlisten
is crucialTeachability, documentation, adoption, migration strategy
Update the Lifecycle and Hybrid Application pages
What is the motivation / use case for changing the behavior?
To educate developers and to avoid future bugs. I had to debug your code to figure these things out...
The text was updated successfully, but these errors were encountered: