Fix backend build against hono 4.13 in finance routes. #39

Merged
Michilis merged 1 commits from dev into main 2026-10-03 05:11:38 +00:00
Owner

Newer hono drops path-param typing on routes with a single untyped
middleware, so c.req.param('id') widens to string | undefined. Assert
the always-present :id param in the affected finance handlers.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Newer hono drops path-param typing on routes with a single untyped middleware, so c.req.param('id') widens to string | undefined. Assert the always-present :id param in the affected finance handlers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Michilis added 1 commit 2026-10-03 05:11:32 +00:00
Newer hono drops path-param typing on routes with a single untyped
middleware, so c.req.param('id') widens to string | undefined. Assert
the always-present :id param in the affected finance handlers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Michilis merged commit 9087650e4c into main 2026-10-03 05:11:38 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Michilis/Spanglish#39