Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation #43

Merged
merged 1 commit into from
Apr 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tempest/src/main/kotlin/app/cash/tempest/LogicalDb.kt
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ interface LogicalDb : LogicalTable.Factory {
* Transactionally writes objects specified by transactionWriteRequest by calling
* [AmazonDynamoDB.transactWriteItems] API.
*
* This method does not support versioning annotations. It throws
* [com.amazonaws.SdkClientException] exception if class of any input object is annotated
* with [DynamoDBVersionAttribute] or [DynamoDBVersioned].
* This method supports versioning annotations, but not in conjunction with condition expressions.
* It throws [com.amazonaws.SdkClientException] exception if class of any input object is annotated
* with [DynamoDBVersionAttribute] or [DynamoDBVersioned] and a condition expression is also present.
*
* A transaction cannot contain more than 25 unique items, including conditions.
* A transaction cannot contain more than 4 MB of data.
Expand Down
7 changes: 4 additions & 3 deletions tempest2/src/main/kotlin/app/cash/tempest2/LogicalDb.kt
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@ interface LogicalDb : LogicalTable.Factory {
* Transactionally writes objects specified by transactionWriteRequest by calling
* [DynamoDbClient.transactWriteItems] API.
*
* This method does not support versioning annotations. It throws
* [software.amazon.awssdk.core.exception.SdkClientException] exception if class of any input
* object is annotated with [DynamoDbVersionAttribute].
* This method supports versioning annotations, but not in conjunction with condition expressions.
* It throws [software.amazon.awssdk.core.exception.SdkClientException] exception if class of
* any input object is annotated with [DynamoDbVersionAttribute] and a condition expression is
* also present.
*
* A transaction cannot contain more than 25 unique items, including conditions.
* A transaction cannot contain more than 4 MB of data.
Expand Down