validate internal representation of `ReadPreference`

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Trivial - P5
    • 3.3.0
    • Affects Version/s: None
    • Component/s: Core
    • None
    • None
    • None
    • None
    • None
    • None
    • 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").

              Assignee:
              Katherine Walker (Inactive)
              Reporter:
              Matt Broadstone
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: