Hi everyone,
I’m curious about the most “Directussy” way to handle a one-to-one-like relation.
Example: collections restaurants and rocations. Each restaurant has exactly one location (restaurant.location).
-
Using O2M returns an array with one item via the API, which feels awkward.
-
Using M2O returns a single object, this makes locations the “parent” and cascade deletion is available only for restaurants.
What does the team/community think is the cleanest, most Directus-native approach for this pattern?