awslabs / dynamodb-data-mapper-js

A schema-based data mapper for Amazon DynamoDB.
https://awslabs.github.io/dynamodb-data-mapper-js/
Apache License 2.0
816 stars 106 forks source link

Support for @aws-sdk v3 #215

Open hps8891 opened 1 year ago

hps8891 commented 1 year ago

Dear authors,

Love the work done on this project. Using this in my projects and turning out great and useful.

Wondering if you have any plans to upgrade this to support in aws-sdk v3! Please let me know any ETA or tracked in a different project.

Thanks

ArsenyYankovsky commented 1 year ago

We have been using this ODM in production, but seeing it wasn't supported anymore we decided to fork this package and our fork is called nova-odm.

What we have done so far:

The overall goal is to keep it interface-compatible with this project (since we generally like this API), but keep it up-to-date and supported. The switch is rather easy due to interface compatibility, you just need to replace depencendies and imports like this:

@aws/dynamodb-data-mapper -> @nova-odm/mapper
@aws/dynamodb-data-mapper-annotations -> @nova-odm/annotations
@aws/dynamodb-expressions -> @nova-odm/expressions

Feel free to raise issues and send us PRs.