JoinerRelationship
JoinerRelationship: Object
Type declaration
alias
stringRequiredforeignKey
stringRequiredprimaryKey
stringRequiredserviceName
stringRequiredargs
Record<string, any>Extra arguments to pass to the remoteFetchData callback
inverse
booleanIn an inverted relationship the foreign key is on the other service and the primary key is on the current service
isInternalService
booleanIf true, the relationship is an internal service from the medusa core
TODO: Remove when there are no more "internal" services
isList
booleanForce the relationship to return a list
Was this section helpful?