lamedh-dev / aws-lambda-rust-runtime

Apache License 2.0
84 stars 13 forks source link

Use aws_lambda_events instead of the custom events in this crate #12

Closed calavera closed 3 years ago

calavera commented 3 years ago

I spent some time during the holidays replacing the custom type implementation in the http crate with the aws_lambda_events crate. Unfortunately, that crate's code generation lacked a few usability features that the custom types here have, and I ended up opening a rather big PR to fix them.

I actually like how much clean the http crate is after removing the types, although it could be cleaned further.

ChristopherBiscardi commented 3 years ago

This fixed an issue I've been having with the deserialization of the LambdaRequest 👍

calavera commented 3 years ago

Thanks for testing these changes @ChristopherBiscardi ! I'm going to merge it and will release new crates today.

calavera commented 3 years ago

@ChristopherBiscardi 0.2.0 released 🎊