trails/packages/db
Ullrich Schäfer f0afa8a4a7
Fix withDb: detect DataWithResponseInit from data() throws
React Router's data() throw creates a DataWithResponseInit object
(type + data + init), not a Response or ErrorResponseImpl.
Check for type === "DataWithResponseInit" to re-throw correctly.

Verified: nonexistent session → 404, DB down → 503.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 00:11:48 +01:00
..
src Fix withDb: detect DataWithResponseInit from data() throws 2026-03-25 00:11:48 +01:00
drizzle.config.ts Add local dev setup, fix BRouter Dockerfile, archive change (#12) 2026-03-22 23:11:43 +00:00
package.json Add Drizzle ORM with shared db package (#10) 2026-03-22 22:35:50 +00:00
tsconfig.json Add Drizzle ORM with shared db package (#10) 2026-03-22 22:35:50 +00:00