It’s fragile and kind of terrible. Let’s look at it. We have a function named lambda. It has one argument named action (enum with allowed values data, exception or timeout). First thing we would like to do is to validate input via schema. Then we would like to return custom error message (and status code) if it’s invalid or do other things based on the action argument value.
We started PurposeFly blog on Medium recently and I decided to give it a try for my personal blog as well.
Old posts are available in this repository. Not that I don’t like Jekyll and GitHub Pages. But the workflow is kinda crazy when I want to publish new post and the only device I have is my iPad. – This is no longer valid, all posts were imported here as well.
I’ll give it a try for a while and then I’ll merge them. Either on GitHub Pages or here. We’ll see.