holy-lambda 2021-10-06

What does the request look like when I have an apigateway for my Lambda where something get's posted to? Is there a :body key? And is that already clojure data? (input is json)

now I figured out the event has a :body key with a string

Right. Maybe HL should automatically parse the body?

I have no opinion on that either way 馃槄

@chris.lowe.uk @steveb8n what do you think?

a generic body parser could get complex since there are a lot of different content-types. I don鈥檛 think it鈥檚 a big win in the HL feature set compared to other ideas on the roadmap

This is probably important for the consistency. HL already auto deserializes the edn & json. Parsing these content-type in body is probably sufficient for 99% cases.

But I will not include it in next release for sure. To much stuff is already in the Changelog.

And I have to make sure this change will be compatible with the ring specification.

> a generic body parser could get complex since there are a lot of different content-types. I don鈥檛 think it鈥檚 a big win in the HL feature set compared to other ideas on the roadmap +1 I鈥檓 happy with the current behaviour. Maybe add something to the docs on what to expect for some common AWS services.