Wesley Clements
Wesley Clements
The current jsdocs aren't descriptive enough for typescript to understand that this middleware is compatible with Koa. I've updated them to specify that compose takes and returns a Koa.Middleware.
This is an implementation of what was outlined in #63. Super simple but it does require dropping support for node
To address the issue outlined in #74 and the original ticket in the koa repo, I've refactored the recursion implementation to make it easier to keep track of whether or...
The code I have is something along the lines of ```javascript class SubSchema extends Schema {...} class State extends Schema { constructor() { super(); this.activePlayerIndex = 0; this.playerIds= new ArraySchema("1",...
Just a proposal for extending defineTypes to allow for the definition of filters. This is really just to continue the work to make working with the annotation in JS more...
This PR is based on #86. Currently there seems to be an assumption that the body will not be modified upstream. This might be intended but, as it is, if...
I noticed that the size of streamed bodies weren't being logged. I went to poke around and noticed that none of the tests for logger were checking streams. I added...
The current jsdocs aren't descriptive enough for typescript to understand that this middleware is compatible with Koa. I've updated them to specify that `responseTime` returns a `Koa.Middleware` and to better...
Though `process.hrtime` is only marked as legacy and will likely not be removed, there are no guarantees and it is not being actively maintained. This PR updates this middleware to...
Just added a simple type description of the outward facing api.