Simple Arguments
Changed
- Only accepts a single
ctx
argument which improves TypeScript inference - Allow
next(ctx?)
to accept an optional argument which replaces thectx
down the stack- Enables cool applications such as HTTP request retries which you clone the
req
each time
- Enables cool applications such as HTTP request retries which you clone the
- Support
debug
mode that is skipped in production to provide helpful debug errors during development