Let the history be queried by specification

Featurekamo-shared-library
Shipped
August 14, 2026 at 7:07 PM UTC
Author
Kamo
Commit
3a9c670

The browsable history filters by kind and by whether a notification has been read, and those combine freely — which as JPQL is a query per combination, or one query full of (:kind IS NULL OR n.kind = :kind). The second is what made every calendar lookup answer 500: a null parameter arrives untyped and PostgreSQL refuses the statement outright. A Specification omits the predicate rather than passing a null, so the fault cannot recur here.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing