Skip to content

Commit bdefe85

Browse files
committed
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.
1 parent 2fb4cd6 commit bdefe85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ While the `OnModuleDestroy` hooks are executed in the reverse order:
178178
A -> B -> C
179179
```
180180

181-
> 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.
181+
> info **Hint** Global modules are treated as a dependency of all other modules. This means that global modules are initialized first and destroyed last.
182182
183183
#### Middleware registration order
184184

0 commit comments

Comments
 (0)