fix(orchestration): fetch fields from link entities (#14097)
* fix(orchestration): fetch fields from link entities * args
This commit is contained in:
committed by
GitHub
parent
0e73d8d5e3
commit
5725837ba8
5
.changeset/wacky-feet-follow.md
Normal file
5
.changeset/wacky-feet-follow.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/orchestration": patch
|
||||
---
|
||||
|
||||
fix(orchestration): fetch fields from link entity
|
||||
@@ -1384,6 +1384,8 @@ export class RemoteJoiner {
|
||||
const existingExpand = expands.find((exp) => exp.property === midProp)
|
||||
|
||||
const extraExtends = {
|
||||
fields: existingExpand?.fields,
|
||||
args: existingExpand?.args,
|
||||
...(midProp === fullAliasProp ? expand : {}),
|
||||
property: midProp,
|
||||
isAliasMapping: !existingExpand,
|
||||
|
||||
Reference in New Issue
Block a user