chore(link-modules): backward compatible links (#12062)

What:
 * Add `hasMany` for links that accepted that in the past. That way we don't block marketplaces to link 1 cart to multiple orders and carts with split payment.
This commit is contained in:
Carlos R. L. Rodrigues
2025-04-02 11:56:48 +00:00
committed by GitHub
parent d3e725a907
commit 2270f29ec5
3 changed files with 7 additions and 0 deletions
@@ -35,6 +35,7 @@ export const CartPaymentCollection: ModuleJoinerConfig = {
args: {
methodSuffix: "PaymentCollections",
},
hasMany: true,
},
],
extends: [
@@ -25,6 +25,7 @@ export const OrderCart: ModuleJoinerConfig = {
args: {
methodSuffix: "Orders",
},
hasMany: true,
},
{
serviceName: Modules.CART,