gocraft/web

subrouter middleware chaining

f0ster opened this issue · 1 comments

Shouldn't subrouter's be using the same middleware chained to the parent? I found this wasn't the case and seemed unintuitive.

@f0ster Not sure what you mean. Middlware on parent middleware is executed before child middleware. See https://github.com/gocraft/web#request-lifecycle