Proposal: Introduce the notion of a middleware stack
Open
feature
good first issue
- Dominant language
- Rust
- Stars
- 5.1k
- Forks
- 329
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the type of a collection of middlewares is `Vec + Send + Sync>>`. I think it would make sense to introduce a proper `MiddlewareStack` type that itself implements `Middleware`. This allows better sharing of middleware instances and the way to address them, for example for debugging.
Contributor guide
Assessment
This issue has not been assessed yet.