danielgtaylor / huma

Huma REST/HTTP API Framework for Golang with OpenAPI 3.1
https://huma.rocks/
MIT License
1.99k stars 146 forks source link

Version Chi v4 Into Separate Release #423

Closed wolveix closed 5 months ago

wolveix commented 5 months ago

Hey!

I've got a minor issue with a repo; go.mod requires both Chi/v4 and Chi/v5 when using huma/adapters/humachi due to the backwards compatibility you've built into the adapter.

Could we either split the v4-only aspects into a separate adapter, or version the dependency away? Our tooling complains every time we bump deps as Chi put a deprecation notice out for v4.

Thanks!