Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for read-only transactions in TransactionOptions (#320
) * Add new typesafe builders for read-only `TransactionOptions.readOnlyOptionsBuilder` and read-write `TransactionOptions.readWriteOptionsBuilder` transactions in TransactionOptions * These new builders ensure only those parameters relevant to the respective type of transaction are available * Deprecate existing `TransactionOptions.create(...)` methods in favor of the new builders * Update Transaction and TransactionRunner to use TransactionOptions directly
- Loading branch information
1 parent
01f4c69
commit c25dca3
Showing
7 changed files
with
463 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.