Week 066 — Found Page Works Again
The found.php flow is working again after being broken by the API changes. The item save refactor surfaces missing data on the item page. Doubt about whether DTO/Service/Repo was worth it starts to creep in.
The found.php flow is working again after being broken by the API changes. The item save refactor surfaces missing data on the item page. Doubt about whether DTO/Service/Repo was worth it starts to creep in.
ItemService cleanup continues. A code review catches null dereference risks. Saving a lost item as found finally works without errors. Neovim gets configured.
Untangling when owner-found and non-owner-found follow different code paths — and why the recursive call was wrong.
The ItemDTOMapper class is created to transform the combined UI payload into separate ItemDTO and ItemLostInstanceDTO objects. The LostInstanceID turns out to be missing from the POST.
LostItemDTO is renamed to ItemLostInstanceDTO to resolve a namespace collision. The item API refactor begins — separating state-change logic from the API into the service layer, with Claude Code doing the heavy lifting.