🍽️ say which bound drops an orphaned mark
Browse files at this commit6b7beb11437655ec4cc6efbfe51b451b17bee470Parent: 6200ad0- docs
- 🍽️ say which bound drops an orphaned mark
1 changed file +4 -3
- README.md +4 -3
README.mdmodified+4 -3
| @@ -1868,9 +1868,10 @@ matters more here than tidiness, because a menu's id is deterministic on | |||
| 1868 | day+slot — a mark that outlived its menu would come back as a mark on the next | 1868 | day+slot — a mark that outlived its menu would come back as a mark on the next |
| 1869 | menu published for that meal. Only the *write* paths ever check the menu: | 1869 | menu published for that meal. Only the *write* paths ever check the menu: |
| 1870 | `GET /meals/attendance/{user}` filters on the student, never on the menu still | 1870 | `GET /meals/attendance/{user}` filters on the student, never on the menu still |
| 1871 | -existing, so such a mark would be read back there (a `?from=/?to=` bounded read | 1871 | +existing, so such a mark would be read back there while no write could touch it. |
| 1872 | -drops it, since a link to a deleted menu has no date to compare) while no write | 1872 | +Its date bounds only apply when you send them, and a link to a deleted menu has |
| 1873 | -could touch it. Nothing can create one any more, and the menu delete's own | 1873 | +no date to compare, so `?from=` drops such a mark while `?to=` on its own still |
| 1874 | +returns it. Nothing can create one any more, and the menu delete's own | ||
| 1874 | sweep is what clears the marks a menu leaves behind. | 1875 | sweep is what clears the marks a menu leaves behind. |
| 1875 | 1876 | ||
| 1876 | **Attendance has zero billing effect.** Booking is the sole charge trigger, so | 1877 | **Attendance has zero billing effect.** Booking is the sole charge trigger, so |