Blake Williams
Blake Williams
@VojtechVitek we discussed that approach, but the concern is that chi could change the underlying behavior at any point that makes copying the struct unsafe, since this isn't publicly documented...
Here's a small repro that's close enough to what we're doing: ```go // main.go package main import ( "context" "fmt" "log" "net/http" "time" "github.com/go-chi/chi/v5" ) var request int type Result...
> Perhaps we can introduce a `.Clone()` method on the Context type. Would that work for you? That would definitely work! We really just need a "blessed" way to work...
Added in https://github.com/go-chi/chi/pull/1033