- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Medusa and Module Container Dependencies
This documentation page includes the list of dependencies registered in the container of the Medusa application and a module.
Medusa Container Dependencies#
The following list of dependencies are resources that can be resolved by all resources (such as API route or workflow) except of a module's.
ContainerRegistrationKeys
enum imported from @medusajs/framework/utils
where specified.Resource | Description | Registration Name |
---|---|---|
Configurations | The configurations that are exported from |
|
Logger | An instance of Medusa CLI’s logger. You can use it to log messages to the terminal. |
|
Query | The Query utility methods. |
|
Remote Link | The remote link function. |
|
Modules' main services | The main service of every module added in |
|
Module Container Dependencies#
The following resources are resources that can be resolved by a module's services and loaders.
ContainerRegistrationKeys
enum imported from @medusajs/framework/utils
where specified.Resource | Description | Registration Name |
---|---|---|
Logger | An instance of Medusa CLI’s logger. You can use it to log messages to the terminal. |
|
Entity Manager | An instance of MikroORM's entity manager. |
|
Base Repository | An instance of the base repository, used to run transactions or perform other database operations. |
|
Configurations | The configurations exported from |
|
Modules' services | All services exported by the | Each service is registered by its camel-case name. For example, if the service's class name is |