calavera / aws-lambda-events

Rust event types for AWS Lambda
MIT License
128 stars 55 forks source link

Out of sync with latest lambda_runtime #138

Closed davija closed 1 year ago

davija commented 1 year ago

I just tried this out on a new project following an example I found online here .

I used the most recent version of cargo-lambda to create a new lambda and then modified the function handler. However, this library appears to use deprecated functionality in lambda_runtime 0.7.

calavera commented 1 year ago

This library doesn't depend on lambda_runtime. What's the problem that you saw?

davija commented 1 year ago

As I recall, event names and such have changed so your models no-longer match with the current runtime events.

calavera commented 1 year ago

I'm not sure if that's possible because the runtime depends on this crate. Are there are specific examples to take an action on? Otherwise, I don't know what to do with this.