Open gearoidgit opened 3 years ago
Thanks, that's a good suggestion. That was the exact reason why I decided not to create an explicit handler for Netlify, but I can do some testing on my own and see how that goes.
For reference I just set the event.version in my functions
exports.handler = async (event) => {
...
event.version = '1.0'
...
}
It seems I can force the AWS handler to work for Netlify by setting the
event.version = '1.0'
in the function but I have not done extensive testing to see if other required event properties that are missing will cause problems. Having a Netlify specific handler would be nice. Netlify's functions run on AWS.