Skip to content

Remove Chi Dependency #820

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Remove Chi Dependency #820

wants to merge 1 commit into from

Conversation

Sneagan
Copy link
Collaborator

@Sneagan Sneagan commented Aug 12, 2025

Preserve existing behavior and ease maintenance by reducing external
dependencies.

  • Create custom router (CustomServeMux) to replace go-chi/chi/v5. Also,
    replace the few middlewares to eliminate other Chi imports.
  • Implement bat-go style error handling without a dependency using AppError
    type and handler
  • Consolidate routing to make it easier to understand the whole
    interface in one place.

Preserve existing behavior and ease maintenance by reducing external
dependencies.

- Create custom router (`CustomServeMux`) to replace `go-chi/chi/v5`. Also,
  replace the few middlewares to eliminate other Chi imports.
- Implement `bat-go` style error handling without a dependency using `AppError`
  type and handler
- Consolidate routing to make it easier to understand the whole
  interface in one place.
@Sneagan Sneagan force-pushed the remove-chi-dependency branch from 9d9f526 to b3d6739 Compare August 14, 2025 02:23
@Sneagan Sneagan mentioned this pull request Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants