You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case, users are linked to organizations through the user_organization table. We need to somehow resolve a user / organization relations through user_organization.
Possibly something along the lines of:
;; User model
[:map
{:has-many {:organization {:field:user/organizations, :through:user_organization/organization_id}}
,,,
}]
;; Organizatin model
[:map
{:has-many {:user {:field:organization/users, :through:user_organization/user_id}}
,,,
}]
The text was updated successfully, but these errors were encountered:
Currently relations are linked directly. That doesn't work well for the following use case:
In this case, users are linked to organizations through the
user_organization
table. We need to somehow resolve auser
/organization
relations throughuser_organization
.Possibly something along the lines of:
The text was updated successfully, but these errors were encountered: