Files
romm/backend/handler/database
Georges-Antoine Assi be1e5fd308 fix(backend): type filter_values as RomFiltersDict end to end
The ROM list and /roms/filters responses already validate every
filter_values key as a list, so the API never sends nulls. Make that
contract explicit: the handler now returns RomFiltersDict directly
(moved to handler/database/rom_filters.py to avoid an import cycle),
which drops the mypy typeddict-item ignores in the endpoints. Endpoint
tests pin that every key is present and a list, including for a ROM
with no metadata and with with_filter_values=false.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-22 14:33:42 -04:00
..
2026-03-12 23:02:12 -04:00
2026-04-06 22:29:55 -04:00