Skip to content

Fixing dynamodb DocumentClient initialization#109

Merged
adrai merged 1 commit intothenativeweb:masterfrom
Glockenbeat:master
Aug 31, 2017
Merged

Fixing dynamodb DocumentClient initialization#109
adrai merged 1 commit intothenativeweb:masterfrom
Glockenbeat:master

Conversation

@Glockenbeat
Copy link
Copy Markdown
Contributor

Passing configuration values on initialization to the DynamoDB document client did not work since the DocumentClient constructor did not correctly receive the DynamoDB client as outlined in the SDK docs.
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/DocumentClient.html#constructor-property

This should be fixed now with this commit, being able to pass the init values as part of the configuration rather than the global AWS config object (env variables).

@adrai adrai merged commit 61791ba into thenativeweb:master Aug 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants