Skip to content

Commit aded9a3

Browse files
Merge pull request #3273 from zacikpet/update-global-modules-hint-in-migration-guide
docs(migration-guide): update hint for global module initalization
2 parents b2e205e + bdefe85 commit aded9a3

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)