serverless-rust-demo icon indicating copy to clipboard operation
serverless-rust-demo copied to clipboard

feat: serde dynamo

Open hffmnn opened this issue 3 years ago • 1 comments
trafficstars

🔥 Don't merge: this is rather experimental and up for discussion! 🔥 Note: So far I didn't deploy the API with theses changes so I am not sure, if it works as expected.

No issue, I wanted to try out serde_dynamo crate with the experimental support for the official aws-sdk.

Description of changes:

  • Use serde_dynamo from_item and from_items and remove handcrafted From and TryFrom implementations
  • Use serde_dynamo from_attribute_value and remove src/store/dynamodb/ext.rs

hffmnn avatar Feb 04 '22 11:02 hffmnn

Hey @hffmnn! Thanks a lot for creating this!

I think given that serde_dynamo is in alpha for support for the AWS SDK, we should probably hold merging this until it's stable, but it's definitively a great idea!

nmoutschen avatar Feb 17 '22 09:02 nmoutschen