Vojtech Vitek (golang.cz)

Results 235 comments of Vojtech Vitek (golang.cz)

Makes sense. Feel free to submit a PR that follows the chi hooks.

Hi @BlakeWilliams, Can you share an example reproducer, so we understand the the issue you're running into? Are you keeping `chi.Context` around in a new goroutine outside of the Request...

@BlakeWilliams can you make a copy of the `chi.Context`, so you can use it outside of the request goroutine scope? ```go rctx := r.Context().Value(chi.RouteCtxKey).(*Context) copy := chi.NewRouteContext() *copy = *rctx...

Let's go for `rctx := r.Context().Value(chi.RouteCtxKey).(*Context)`. Perhaps we can introduce a `.Clone()` method on the Context type. Would that work for you?

Yes please. I prefer simple copy over poisoning the mem pool.

Hi, can you please send us a reproducer code or a test case? Expected vs. actual behavior?

@FarmerChillax We do have these: https://github.com/go-chi/chi?tab=readme-ov-file#middlewares https://github.com/go-chi/chi?tab=readme-ov-file#extra-middlewares--packages I think we could add Third-party middleware section too.

I'd suggest to support major versions only (`@vX`) instead of major+minor (`@vX.Y`). Otherwise we will have a lot of routes, server handlers and code to support. I don't know of...

This proposal is about service-level versioning. And I like it. However, I think we should also discuss/consider schema-level versioning before we pull the trigger on this. The schema version is...

I hit the same issue after migrating to new Macbook with macOS Tahoe 26.0.1. > 1. disable driver (if not already disabled) > 2. reboot > 3. reenable driver This...