Details
-
Task
-
Resolution: Unresolved
-
Minor - P4
-
None
-
None
Description
The SessionOptions struct has fields DefaultReadConcern and DefaultWriteConcern that only apply to transactions started within the session and not to any operation within the session as the names might suggest.
We should change the name of these fields to represent that they only apply to transactions or put them within an embedded DefaultTransactionOptions struct within SessionOptions.
Attachments
Issue Links
- depends on
-
GODRIVER-2800 Convert Session Interface to a Struct
-
- Blocked
-
-
GODRIVER-2696 Allow only 0 or 1 options structs in all APIs that accept variadic options args
-
- Investigating
-
- is related to
-
GODRIVER-1703 Change Session examples to use transactions
-
- Closed
-