aws-samples / serverless-rust-demo

Sample serverless application written in Rust
MIT No Attribution
271 stars 22 forks source link

feat: use event.payload() for API entrypoints #43

Closed nmoutschen closed 2 years ago

nmoutschen commented 2 years ago

Issue #, if available: https://github.com/awslabs/aws-lambda-rust-runtime/issues/431#issuecomment-1046797817

Description of changes:

Use event.payload() for API entrypoints instead of manually deserializing the payload.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.