Closed snapshotpl closed 6 years ago
If we go the way of #134, we may not even need a Route instance at all!
Route
Essentially, we'd only be composing middleware instances in the MiddlewarePipe, as path-based middleware would be handled by a special decorator.
MiddlewarePipe
Let's see how #134 shakes out, and then decide whether or not to proceed on this one.
Closing, as #134 removes the class entirely, and will be merged soon.
If we go the way of #134, we may not even need a
Route
instance at all!Essentially, we'd only be composing middleware instances in the
MiddlewarePipe
, as path-based middleware would be handled by a special decorator.Let's see how #134 shakes out, and then decide whether or not to proceed on this one.