Skip to content

Commit 73e740f

Browse files
committed
chore(changeset): name the rule's other limbs on createHonoApp, a classified driver fault's declared 500 code included (#23365)
Claude-Session: https://claude.ai/code/session_01Q9PZ5Pzqcus4woVvTZwWNU Co-authored-by: Claude <noreply@anthropic.com>
1 parent 287fd99 commit 73e740f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.changeset/23365-hono-declared-envelope.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ rule `@objectstack/plugin-hono-server`'s direct-mount routes have used since
2424
two conditions, the same 5xx disclosure filter (`looksLikeInternalErrorLeak`),
2525
and `details` and `userMessage` forwarded only when the producer declared them.
2626

27+
The rule's other limbs come with it, as they did on the direct-mount door. A
28+
validation-shaped throw answers `400 VALIDATION_FAILED` with its `fields[]`. A
29+
driver fault the engine has already classified keeps its `500` and now carries
30+
the code it declared instead of `INTERNAL_ERROR`. Measured: `GET /data/:object`
31+
over an object whose table is missing answers `500 DATABASE_ERROR`, with the
32+
same message as before.
33+
2734
**What did NOT change**, pinned in the same PR through a real `createHonoApp`
2835
over the real dispatcher and protocol (`packages/qa/http-conformance`):
2936

0 commit comments

Comments
 (0)