Details
-
Improvement
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
-
None
-
None
-
Server Serverless 2022-01-10, Server Serverless 2022-01-24
Description
The WriteConcernOptions class currently exposes all of its internal fields, which makes it difficult to reason about its construction, current state, as well as making testing edge cases difficult. Converting the class to an immutable type will help us avoid confusing bugs, and improve our testing around write concerns.