Skip to content

Commit a0eb009

Browse files
committed
docs(request-lifecycle): adds information about module bound mw
fix #1248
1 parent 9815891 commit a0eb009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/faq/request-lifecycle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Nest applications handle requests and produce responses in a sequence we refer t
44

55
#### Middleware
66

7-
Middleware is executed in a particular sequence. First, Nest runs globally bound middleware (such as middleware bound with `app.use`) and then it runs [module bound middleware](/middleware), which are determined on paths. Middleware are run sequentially in the order they are bound, similar to the way middleware in Express works.
7+
Middleware is executed in a particular sequence. First, Nest runs globally bound middleware (such as middleware bound with `app.use`) and then it runs [module bound middleware](/middleware), which are determined on paths. Middleware are run sequentially in the order they are bound, similar to the way middleware in Express works. In the case of middleware bound across different modules, the middleware bound to the root module will run first, and then middleware will run in the order that the modules are added to the imports array.
88

99
#### Guards
1010

0 commit comments

Comments
 (0)