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

Deprecate readPreference as plain object internally

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      ReadPreference should be of type ReadPreference or string, but we currently support an object, like

      { mode: 'secondaryPreferred', tags: [] }

      We should deprecate support for the object format and only support type ReadPreference or string.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            katherine.walker Katherine Walker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: