core(core-flows, medusa): remove request item return (#8146)

This commit is contained in:
Carlos R. L. Rodrigues
2024-07-16 11:23:34 -03:00
committed by GitHub
parent 4024935e91
commit 5813216c88
16 changed files with 320 additions and 20 deletions
@@ -71,7 +71,7 @@ export default class ShippingMethod {
() => ShippingMethodTaxLine,
(taxLine) => taxLine.shipping_method,
{
cascade: [Cascade.PERSIST, "soft-remove"] as any,
cascade: [Cascade.PERSIST, "soft-remove" as Cascade],
}
)
tax_lines = new Collection<Rel<ShippingMethodTaxLine>>(this)
@@ -80,7 +80,7 @@ export default class ShippingMethod {
() => ShippingMethodAdjustment,
(adjustment) => adjustment.shipping_method,
{
cascade: [Cascade.PERSIST, "soft-remove"] as any,
cascade: [Cascade.PERSIST, "soft-remove" as Cascade],
}
)
adjustments = new Collection<Rel<ShippingMethodAdjustment>>(this)