serverless-dynamodb-client icon indicating copy to clipboard operation
serverless-dynamodb-client copied to clipboard

Allow to use custom options

Open makaivelli opened this issue 7 years ago • 1 comments

It would be handy to allow using custom options when constructing a DynamoDB object. For start it would be nice to support defining convertEmptyValues and port in serverless.yml.

makaivelli avatar Oct 31 '18 16:10 makaivelli

As far as I can see you can simply set it after you have initialized dynamodb like this:

const dynamoDb = require('serverless-dynamodb-client').doc
dynamoDb.options.convertEmptyValues = true

bart avatar Aug 27 '19 06:08 bart