Skip to main content
Skip to main content

JoinerRelationship

JoinerRelationship: Object

Properties

aliasstringRequired
foreignKeystringRequired
primaryKeystringRequired
serviceNamestringRequired
isInternalServiceboolean
If true, the relationship is an internal service from the medusa core TODO: Remove when there are no more "internal" services
inverseboolean
In an inverted relationship the foreign key is on the other service and the primary key is on the current service
isListboolean
Force the relationship to return a list
argsRecord<string, any>
Extra arguments to pass to the remoteFetchData callback
Was this section helpful?