Location as an EntryDimension #9
Reference in New Issue
Block a user
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?
What to build
Locationis the coordinates aMoodEntrywas logged at — supplied by the client, optional, and the prerequisite forWeather.Precision is whatever the client sends; the server does not round or degrade it. Latitude and longitude are validated newtypes constrained to their real ranges, composed into a single coordinates value object rather than two loose floats.
This is the second dimension built on #1's pattern and should require no change to the composer or to any existing dimension. If it does, that is a defect in #1.
The client decides whether to offer location at all and handles its own permission flow; an entry without
Locationis complete and normal.Acceptance criteria
Locationis a self-contained dimension module following #1's patternLocationbehave exactly as beforeBlocked by