fix: Loading custom modules (#6411)
What: fix custom modules loading in medusa project pass medusa logger reference to MedusaApp
This commit is contained in:
1 parent
339a946f38
commit
586df9da25
4 files changed
+29
-7
No files matched your search
@@ -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