Skip to content

Commit 7ce5fd2

Browse files
authored
add non final clarification to ddb enhanced client (#6250)
* Add clarification about mutable fields * Add changelog
1 parent f727239 commit 7ce5fd2

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "documentation",
3+
"category": "Amazon DynamoDB Enhanced Client",
4+
"contributor": "",
5+
"description": "Add documentation clarifying usage for ddb enhanced client"
6+
}

services-custom/dynamodb-enhanced/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ completely made up and not part of this library. Any search or key
88
values used are also completely arbitrary.
99

1010
### Initialization
11+
**IMPORTANT**: Fields in your DynamoDbBean java class **MUST NOT** be marked as `final`.
12+
The DynamoDB Enhanced Client requires fields to be mutable for the mapping to work correctly.
13+
1114
1. Create or use a java class for mapping records to and from the
1215
database table. At a minimum you must annotate the class so that
1316
it can be used as a DynamoDb bean, and also the property that

0 commit comments

Comments
 (0)