Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1425

validate internal representation of `ReadPreference`

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.3.0
    • Affects Version/s: None
    • Component/s: Core
    • Labels:
      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@mongodb.com Katherine Walker (Inactive)
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: