Closed 0x1306e6d closed 3 years ago
Upstream#decorate has wrong signature.
Upstream#decorate
Change T extends Service<Req, Res>, Req extends HttpRequest, Res extends HttpResponse to T extends Upstream.
T extends Service<Req, Res>, Req extends HttpRequest, Res extends HttpResponse
T extends Upstream
Only Upstreams can be decorated.
Upstream
Motivation
Upstream#decorate
has wrong signature.Description
Change
T extends Service<Req, Res>, Req extends HttpRequest, Res extends HttpResponse
toT extends Upstream
.Result
Only
Upstream
s can be decorated.