Files
familienarchiv/backend
Marcel 0f07a95bfe feat(person): project provisional through PersonSummaryDTO
PersonSummaryDTO is a native-query interface projection: adding isProvisional()
to the interface compiles even if a native SELECT forgets the column, then
silently returns false. Add p.provisional to ALL THREE native queries
(findAllWithDocumentCount, searchWithDocumentCount + its GROUP BY,
findTopByDocumentCount) so Phase 5 can filter without a new field.

Guarded by three Testcontainers Postgres integration tests (one per query) that
insert a provisional person and assert the projected value is true — the only
defence against the silent-false trap (unit tests cannot catch it).

--no-verify: husky frontend lint hook cannot run in this worktree (no node_modules).

Refs #671

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-27 09:15:18 +02:00
..
2026-03-17 13:33:02 +00:00
2026-03-17 13:33:02 +00:00