You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dynogels runs by default with AWS Version 2. However it does allow you to pass in your own DynamoDB driver, and since AWS Version 3 is out I was wondering if it was possible to pass in a Version 3 dynamo driver. I have attempted to do this:
importdynogelsfrom'dynogels-promisified';import{DynamoDB}from"@aws-sdk/client-dynamodb";//Version 3 driverconstv3Dynamo: DynamoDB=newDynamoDB({region: REGION});dynogels.dynamoDriver(v3Dynamo);//Pass in our own driver
But I got the following error:
/node_modules/aws-sdk/lib/dynamodb/document_client.js:86
self.service = new self.service.constructor.__super__(config);
^
TypeError: self.service.constructor.__super__ is not a constructor
I also attempted this with the V3 DynamoDBClient but got the same error.
The text was updated successfully, but these errors were encountered:
Dynogels runs by default with AWS Version 2. However it does allow you to pass in your own DynamoDB driver, and since AWS Version 3 is out I was wondering if it was possible to pass in a Version 3 dynamo driver. I have attempted to do this:
But I got the following error:
I also attempted this with the V3
DynamoDBClient
but got the same error.The text was updated successfully, but these errors were encountered: