fix(orchestration,link-modules,pricing,types): fix shippingprofile errror outside of core + change link alias name (#5025)

* fix(orchestration,link-modules,pricing,types): fix shippingprofile error outside of core + change link alias name

* chore: scope relationships and move condition inside

* chore: remove islist

* chore: fix merge conflict

* chore: reverted serviceName scoping

* chore: change shape to make methodOverride compatible

* chore: added methodOverride to remote query

* chore: revert override
This commit is contained in:
Riqwan Thamir
2023-09-13 12:16:00 +02:00
committed by GitHub
parent 7231f65833
commit 3d68be2b6b
10 changed files with 49 additions and 21 deletions
@@ -38,7 +38,6 @@ export const ProductShippingProfile: ModuleJoinerConfig = {
},
relationship: {
serviceName: LINKS.ProductShippingProfile,
isInternalService: true,
primaryKey: "product_id",
foreignKey: "id",
alias: "shipping_profile",
@@ -43,8 +43,7 @@ export const ProductVariantPriceSet: ModuleJoinerConfig = {
serviceName: LINKS.ProductVariantPriceSet,
primaryKey: "variant_id",
foreignKey: "id",
alias: "prices",
isList: false,
alias: "price",
},
},
{