DynamoDbEnhancedClient support for multiple type mapping #2211
Labels
closed-for-staleness
dynamodb-enhanced
feature-request
A feature should be added or improved.
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.
Allow inserting into a single table multiple types that implement a generic record interface defining PK and SK.
Describe the Feature
For tables containing many to one relationships, a SK convention such as type#id can be used to link adjacent documents.
For example, if GenericRecord interface defined PK and SK getters:
Ability to create single flexible mapper/client and insert both types in order.
Is your Feature Request related to a problem?
It appears this may be possible with StaticTableSchema, but seems like a lot of unintuitive setup. It appears v1 SDK approach is simpler.
The text was updated successfully, but these errors were encountered: