This will make it possible to leverage Koa's context/state for various options calculations, such as authentication, or GraphQL context generation.
The change should be backwards compatible, as res should also be a valid property on the default Koa context and the new generics in HandlerOption have default values.
This will make it possible to leverage Koa's context/state for various options calculations, such as authentication, or GraphQL context generation.
The change should be backwards compatible, as
res
should also be a valid property on the default Koa context and the new generics in HandlerOption have default values.