noir-clojure / lib-noir

A set of libraries for ring apps, including stateful sessions.
Eclipse Public License 1.0
481 stars 47 forks source link

added ability to pass in custom middleware to app-handler #59

Closed yogthos closed 11 years ago

yogthos commented 11 years ago

The middleware gets resolved in reverse, so currently it's not possible to add middleware that depends on any noir middleware, such as noir.session to the app-handler.

This allows passing in custom middleware that will be wrapped before any of the standard middleware.