Closed hunterloftis closed 10 years ago
+1 from me, if anyone is uses the format callbacks let us know :D
we also need a nice way to apply middleware to all of them so it's not just as verbose as app.VERB
I would prefer to see #44 merged in, leaving the per-format callback, but I'd rather have middleware than format-style callbacks.
+1
+1
+1, and +1 to have some of a middleware option to pass a middleware to all the routes on the resource.
Removed:
tests & implementation for mapped response formats, eg:
Added:
tests & implementation for middleware, eg:
tests & implementation for middleware + formats + nesting, eg: