Open
Description
Describe the bug
Our pojos/beans used with DynamoDbMapper (v1) used to work with fluent setters. This seems to be broken when using the EnhancedClient with v2.
Expected Behavior
expectation is that this bean would work (the name attribute would be set
@DynamodbBean
public MyClass{
private String name;
public MyClass setName(String name){
this.name = name;
return this;
}
}
Current Behavior
The attribute using a fluent setter does not work and the attribute will always be null
Reproduction Steps
- Create instance of EnhancedClient
- Create DynamodbBean like above to represent an item in the table
- Create table schema using DynamodbBean
- Save item to table and observe null for 'name'
Possible Solution
No response
Additional Information/Context
This has been reported in other tickets, but there has been no ticket created to fix or add this support.
example: #2213
AWS Java SDK version used
2.25.2
JDK version used
openjdk version "17.0.7" 2023-04-18
Operating System and version
mac 13.6.4