will Farrell

Results 170 comments of will Farrell
trafficstars

I finally found some time to work on this and have build https://github.com/willfarrell/fluent-transpiler. Thanks for sharing fluent-compiler, it was helpful in verifying my implementation was feature complete. You can find...

Just ran into this, turned out the servers time was out of sync. enabling `ntp` and rebooting solved it for me. Run `timedatectl` to see if you're out of sync.

As always, thanks for the detailed and educational reply. Generating two schema pragmatically and use `ajv-errors` was what I was thinking. Not a big burden to write, but added extra...

Hey, I was finally able to get back to this. Did some additional reading of past proposals and comments on the json-schema-spec. Seems there is a kind of agreement that...

@Muthuveerappanv Have you looked at [Middy](https://github.com/middyjs/middy/tree/release/3.x#available-middlewares)? All modules in this repo support a middy-compatible middleware ready to go.

I've been wondering if the node lambda runtime itself should handle this using an AbortController with a timer and pass in `{ signal }` into the handler allowing external requests...

Engines: - https://ajv.js.org/ - https://github.com/ebdrup/json-schema-benchmark (other json schema projects) - https://joi.dev/ Existing lambda middleware: - https://github.com/middyjs/middy/tree/release/3.x/packages/validator [ajv] - https://github.com/willfarrell/middy-ajv [ajv] - https://www.npmjs.com/package/middy-sparks-joi [joi]

Middy takes this approach of separating `normalization` (envelope/Extraction) and `validation`. See [AWS Event support list](https://github.com/middyjs/middy/tree/release/3.x/packages/event-normalizer), we're just missing API Gateway WebSocket events which will be its own middleware at some...

I agree that credentials should not be logged as per [ASVS 7.1.1](https://github.com/OWASP/ASVS/blob/master/5.0/en/0x15-V7-Error-Logging.md#v71-log-content). There are other types of data that should not be logged as well based on who owns the...

I've been using [@serverless/event-mocks](https://www.npmjs.com/package/@serverless/event-mocks) for this, there are a few others, all are out of date and not maintained.