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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user