mirror of
https://github.com/nestjs/docs.nestjs.com.git
synced 2026-02-25 22:15:07 +00:00
docs(migration-guide): update hint for global module initalization
The hint for global module initialization is invalid. Global modules not treated as if they depend on all other modules. Instead, all other modules are treated as if they depend on global modules.
This commit is contained in:
@@ -178,7 +178,7 @@ While the `OnModuleDestroy` hooks are executed in the reverse order:
|
||||
A -> B -> C
|
||||
```
|
||||
|
||||
> info **Hint** Global modules are treated as if they depend on all other modules. This means that global modules are initialized first and destroyed last.
|
||||
> info **Hint** Global modules are treated as a dependency of all other modules. This means that global modules are initialized first and destroyed last.
|
||||
|
||||
#### Middleware registration order
|
||||
|
||||
|
||||
Reference in New Issue
Block a user