Open ismetismetismet opened 7 months ago
I also changed Lifetime.TRANSIENT
to Lifetime.SCOPED
, but it did not work.
i have the same error productRepo.findWithRelationsAndCount is not a function, does anyone know the solution?
@ReyhanDiansa take a look to https://github.com/medusajs/medusa/issues/6139
export const ProductRepository = dataSource .getRepository(Product) .extend( Object.assign( MedusaProductRepository, { target: Product } ), )
remove {...}
export const ProductRepository = dataSource .getRepository(Product) .extend( Object.assign( MedusaProductRepository, { target: Product } ), )
But this would override the repo, in case of using it in an other plugin !
Selam @shahednasser,
I am attempting to execute everything as explained in the documentation, but I've encountered an issue that I cannot resolve. It seems to be specific to Medusa version 1.20.0:
and once the app is running:
Any ideas on how to resolve this issue?
Thank you!