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 authored and GitHub committed 2025-04-02 11:56:48 +00:00
1 parent d3e725a907
commit 2270f29ec5
3 files changed
+7

No files matched your search

@@ -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,