odin-http icon indicating copy to clipboard operation
odin-http copied to clipboard

Figure out a nice way to pass variables/context from the middlewares to the handlers

Open laytan opened this issue 2 years ago • 0 comments

Not sure of a good solution, the size and amount should arbitrary because there are numerous middleware applications, which is probably not possible in a type safe manner, I'm thinking about an object that pass through handlers, but there could be multiple middlewares that want to add stuff.

laytan avatar Sep 15 '23 16:09 laytan