Skip to main content
Skip to main content

JoinerRelationship

JoinerRelationship: Object

Type declaration

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