You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
@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.
The text was updated successfully, but these errors were encountered: