Richard Hyatt
Richard Hyatt
There's an [issue](https://github.com/awslabs/serverless-application-model/issues/248) that has been raised with the SAM project - not sure if that might help. I would caution against having the lambda code handle the OPTIONS request....
The 5.x and 6.0 versions changed how response headers are handled. Is this issue still valid?
I have not created typescript definitions but I would welcome them as a PR
I think mixing callbacks and promises is not the best thing to do - I would suggest returning a `Promise` from the handler. The reason why your second example fails...
Looks interesting - I looked at using a config driven method but chose to use a code based approach. Might be interesting to see if we could drive lambda-tester (with...
Would be a nice feature to add
I like it - could we extend the scope larger than just default values? Could we use a similar syntax to specify a set of properties that could be returned...
Now that AWS Lambda supports node 4.3.x, does it make sense to update Joi to version 8.0.x?
The reason for the slow startup on lambda has less to do with Joi but rather the aws-sdk (2-3x the load time of Joi)
Something like this: ``` js 'use strict'; const lov = require( 'lov' ); let schema = { weather: lov.string().valid( 'cloudy', 'sunny', 'rainy' ) }; let value = { weather: 'sunny'...