Files
legal-ai/web
Chaim d5043100a7
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 8s
fix: json.loads JSONB overrides on GET — asyncpg has no codec registered
asyncpg returns JSONB columns as raw JSON strings when no type codec is
configured (only pgvector is registered in _init_connection). The stored
value is a correct JSONB array (jsonb_typeof=array confirmed), but
asyncpg decodes it as str. Parse it explicitly in the GET handler so
the frontend receives the correct Python list/dict.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-10 18:54:44 +00:00
..