We could probably eliminate the Extension layer, storing the instruments on the middleware instead of on the request, by switching to https://docs.rs/axum/latest/axum/middleware/fn.from_fn_with_state.html
Originally posted by @divergentdave in #4426 (comment)
We could probably eliminate the
Extensionlayer, storing the instruments on the middleware instead of on the request, by switching to https://docs.rs/axum/latest/axum/middleware/fn.from_fn_with_state.htmlOriginally posted by @divergentdave in #4426 (comment)