rune/aileron

Handler and middleware should not call res / next

sanjaypojo opened this issue · 0 comments

Instead, in the spirit of centralizing these flows the way we did with errors

  • If an API returns, then the successHandler is called with the payload that was returned.
  • If a middleware returns, next() is called.