-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Trivial - P5
-
Affects Version/s: None
-
Component/s: Core
-
None
Right now you can set whatever mode you want on a ReadPreference. We should strictly verify that it's one of our supported values, and always convert it to a well-defined equal value (e.g. true => "primary").