Skip to content

[DynamoDbEnhancedClient] Support to flatten a Map into top level attributes of the object. #2542

Open
@ghost

Description

In my usecase, my dynamodb table has a fixed set of fields which are defined as fields in the class. There are a arbitrary fields which are represented by a Map<String, String>. I need the ability to use @DynamoDbFlatten on the Map similar to using it on a class.

Describe the Feature

Support @DyanmoDbFlatten annotation for Map as well.

Is your Feature Request related to a problem?

Without this feature I won't be able to use DynamoDbEnhancedClient

Proposed Solution

Describe alternatives you've considered

The only alternatives to this I can think of is to not use the DynamoDbEnhanced client at all.

Additional Context

The table we use has a fixed fields which can be represented using class members.
However, there are arbitrary set of top level fields which need to be returned in a Map.

  • I may be able to implement this feature request

Your Environment

  • AWS Java SDK version used:
  • JDK version used:
  • Operating System and version:

Metadata

Metadata

Assignees

No one assigned

    Labels

    dynamodb-enhancedfeature-requestA feature should be added or improved.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions