fix: Loading custom modules (#6411)
What: fix custom modules loading in medusa project pass medusa logger reference to MedusaApp
This commit is contained in:
@@ -108,7 +108,7 @@ export const initialize = async (
|
||||
}
|
||||
|
||||
const logger =
|
||||
injectedDependencies?.[ContainerRegistrationKeys.LOGGER] ?? console.log
|
||||
injectedDependencies?.[ContainerRegistrationKeys.LOGGER] ?? console
|
||||
|
||||
definition.schema = generateGraphQLSchema(definition, primary, foreign, {
|
||||
logger,
|
||||
|
||||
Reference in New Issue
Block a user