dynamodb-oop
dynamodb-oop copied to clipboard
Support AWS SDK v3
Instead of the entire aws-sdk library, we should be able to...
const { DynamoDB } = require("@aws-sdk/client-dynamodb")
const $db = new DynamoDB({ region: 'us-west-2' })
const DynamodbFactory = require('@awspilot/dynamodb')
const dynamodb = new DynamodbFactory($db)
Hi Mark,
Indeed @awspilot/dynamodb
v2.x does not work with AWS SDK v3,
feature releases of @awspilot/dynamodb
( v3.x ) will use AWS SDK v3.
Switching to AWS SDK v3 doesn't seem like a big rewrite I just found myself confortable with the v2 and there was no request for v3 yet
Thanks for mentioning it and I'll leave this issue open until there's a v3 😄
Hi @adrianpraja
As AWS' note below, any chance we could get a v3 of @awspilot/dynamodb
NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
cheers
Mark