Child subjects: rate dishes, waiters, and other nested items #8

Open
opened 2026-06-06 01:24:56 +02:00 by myrmidex · 0 comments
Owner

Support rating things within a subject — e.g. a specific dish, a waiter, or a wine at a restaurant. Modeled via a self-referential parent_id on Subject (already discussed). Children inherit their parent's location (their own lat/lng is nullable, resolving up the tree). Includes a "root requires location" validation rule so only top-level subjects need coordinates.

Scope: Add nullable lat/lng migration with the root-requires-location validation, add parent_id FK to Subject, expose children in GET /api/subjects/{id}, and build the "+ review dish / + review waiter" flow in the pin panel. Does not include rating criteria.

Size: large

Support rating things within a subject — e.g. a specific dish, a waiter, or a wine at a restaurant. Modeled via a self-referential `parent_id` on Subject (already discussed). Children inherit their parent's location (their own lat/lng is nullable, resolving up the tree). Includes a "root requires location" validation rule so only top-level subjects need coordinates. **Scope:** Add nullable lat/lng migration with the root-requires-location validation, add `parent_id` FK to Subject, expose children in `GET /api/subjects/{id}`, and build the "+ review dish / + review waiter" flow in the pin panel. Does not include rating criteria. **Size: large**
myrmidex added the
enhancement
label 2026-06-06 01:24:56 +02:00
myrmidex added this to the v0.1.0 MVP milestone 2026-06-08 18:02:31 +02:00
myrmidex removed this from the v0.1.0 MVP milestone 2026-06-08 18:04:11 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lvl0/rater#8
No description provided.