Open joa23 opened 1 month ago
@joa23 interesting, I thought that Chi should support this as it is just using the default http request/response from the standard library. Do you have more info about your setup? Maybe a small example I can use to reproduce?
Generally the Go 1.22 router is great, but middleware handling is a bit annoying so Chi and other routers are a little nicer in that respect. You could definitely give 1.22 a try, I just won't update the tutorial until our minimum version supports the Go 1.22 router (otherwise it might not work for some people).
Hi,
When using a chi router I get a fmt.Println message: warning: unable to set write deadline. I understand chi is not implementing this interface but only the go 1.22 router. It just a minor inconvenience but does this need to be logged? Seems like a non issue and given we have a lot events for along time is noise in the logs file. Sorry for my lack of knowledge is there any reason using chi vs. go 1.22+ router in huma? The tutorial is using chi are there any limitations e.g. middleware with the go standard router these days? Thanks.