Open ryonday opened 6 years ago
Yes - as part of #17 I also identified a bunch of code that should go away and make instantiation easier if only the newer parts of the AWS SDK are used. Right now I have not a lot of free time - as evident how seldomly i push to #17's branch. But always open for PRs
Thanks
In the
1.11.x
series of the AWS SDK, they introduced the concept of aDynamoDBTableMapper
, which not only encapsulates DynamoDB operations based on a specific type, but also allows easy access to the hash key, range key, and their attribute names for a certain type.My gut feeling is that this would be an easy way to cut a lot of code out of the project (such as the code that finds and returns hash/range key values), and would also simplify the
DynamoDBOperations
class (by obviating the need to pass theclass
of a type).I've been thinking about working up a prototype using these and some additional features of both the
DynamoDBTableMapper
and some other1.11.x
features.@derjust Is this a direction you would be interested in going for this project? If so I'm happy to contribute.