juniper
juniper copied to clipboard
Add support for `Request<T>` where `T` is a type that implements `hyper::body::Body` trait
Should resolve #1102
Problem
Attempts to use any other hyper request type aside
Request<hyper::body::Incoming>
fails with a compile-time error of type mismatch
Solution
Add generic support for valid supported hyper
Request
or any customRequest
that has a body which implementshyper::body::Body
Checklist
- [x] ~Tests are added~ (not required)
- [x] CHANGELOG entry is added
- [x] ~Documentation is updated~ (not required)