docs: revise medusa container chapter (#10192)

This commit is contained in:
Shahed Nasser
2024-11-21 11:22:15 +02:00
committed by GitHub
parent 3a3091f3f8
commit f541e21c62
6 changed files with 181 additions and 33 deletions
@@ -1,13 +1,11 @@
export const metadata = {
title: `${pageNumber} Module's Container`,
title: `${pageNumber} Module Container`,
}
# {metadata.title}
In this chapter, you'll learn about the module's container and how to resolve resources in that container.
## Module's Container
Since modules are isolated, each module has a local container only used by the resources of that module.
So, resources in the module, such as services or loaders, can only resolve other resources registered in the module's container.