Skip to content

Simple Arguments

Compare
Choose a tag to compare
@blakeembrey blakeembrey released this 21 May 08:23
· 29 commits to master since this release

Changed

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