chore(core-flows, medusa): cancel request return (#8153)

* fix(core-flow): request item return reason

* chore(core-flows): cancel request return
This commit is contained in:
Carlos R. L. Rodrigues
2024-07-17 09:35:46 +01:00
committed by GitHub
parent d4fe2daa57
commit 1acfdc4ffe
23 changed files with 263 additions and 28 deletions
@@ -31,6 +31,8 @@ export function setFindMethods<T>(klass: Constructor<T>, entity: any) {
const isRelatedEntity = entity !== Order
const config = mapRepositoryToOrderModel(findOptions_, isRelatedEntity)
config.options ??= {}
config.options.populate ??= []
let orderAlias = "o0"
if (isRelatedEntity) {