Skip to content

DynamoDB EnhancedAttributeValue "set" operations should accept sets #3453

@chrylis

Description

@chrylis

Describe the feature

DynamoDB supports "set" types for homogenous multi-valued data, and the EnhancedAttributeValue type provides mapper methods for those (e.g., fromSetOfNumbers). However, the signatures of those methods accept specifically List. Instead, they should accept Collection.

Use Case

I would like to pass an actual Set implementation to fromSetOf*.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS Java SDK version used

2.17.284

JDK version used

AdoptOpenJDK-11.0.11+9

Operating System and version

Gentoo Linux

Metadata

Metadata

Assignees

Labels

feature-requestA feature should be added or improved.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions