-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Rust Drivers
RUST-1713 introduces a single BulkWriteResult used to represent both summary and verbose results. We should introduce separate SummaryBulkWriteResult and VerboseBulkWriteResult types that can provide compile-time guarantees about the absence/presence of individual results. This will require some thought about how to represent summary vs. verbose results in the BulkWriteError type, which stores an optional partial result.