Skip to content

Conversation

@connorads
Copy link
Contributor

@connorads connorads commented Jan 9, 2026

Addresses TS2589 (type instantiation depth) in openapi generation that I'm getting in #6154 because I add a new route
Fixes #7532

Screen Shot 2026-01-09 at 9 20 12 PM

Refactor to reduce Hono schema type depth - no functional changes
Split session routes into a dedicated router
Seems to match the existing pattern for separate routers (ProjectRoute, TuiRoute)

Tested on #6154 to validate that it would fix build, but wanted a separate PR to keep things clean

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TS2589 type issue when adding new route to server.ts

1 participant