A mock DynamoDB that runs locally for testing purposes - DEPRECATED, PLEASE USE DYNAMODB LOCAL: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html
This is just a simple fix to check if the requested attribute exists before adding it to the response. This fixes issue #28 which I created last week.
I still haven't confirmed that this is correct behavior of Amazon's DynamoDB (the only confirmation I have is that my tests pass with the original client and they didn't with alternator. After this fix they're back to green with Alternator). I don't have the time to confirm this right now, but if you prefer I can check it when I have time, before you merge this.
This is just a simple fix to check if the requested attribute exists before adding it to the response. This fixes issue #28 which I created last week.
I still haven't confirmed that this is correct behavior of Amazon's DynamoDB (the only confirmation I have is that my tests pass with the original client and they didn't with alternator. After this fix they're back to green with Alternator). I don't have the time to confirm this right now, but if you prefer I can check it when I have time, before you merge this.