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
Dunno it's bug, of misunderstanding of documentation..
All kinds of nest classes: modules, services, guards etc. have onModuleBootstrap and other hooks.
And they work great!
But when it comes to middleware class which implements NestMiddleware - hooks are not triggered. That's because middleware is special? Or maybe some special condition should be met?
Hello, dear developers!
Dunno it's bug, of misunderstanding of documentation..
All kinds of nest classes: modules, services, guards etc. have onModuleBootstrap and other hooks.
And they work great!
But when it comes to middleware class which implements NestMiddleware - hooks are not triggered. That's because middleware is special? Or maybe some special condition should be met?
Middleware is pluged in as it's said in docs:
App is starting successfully, middleware works fine. But hooks are not triggered. Is it the way it should be?
Thanks a lot!
The text was updated successfully, but these errors were encountered: