Child subjects: rate dishes, waiters, and other nested items #8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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_idon 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_idFK to Subject, expose children inGET /api/subjects/{id}, and build the "+ review dish / + review waiter" flow in the pin panel. Does not include rating criteria.Size: large