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

unify means of applying `ignoreUndefined`

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0
    • Affects Version/s: None
    • Component/s: Native, Operations Layer
    • None

      ignoreUndefined is applied to options in a number of places (and thats not even all of them!). It's also noticeably missing from relevant functions (such as all of the findAndModify methods, as noted in NODE-1560).

      We should reduce this code some common method that applies to options, reducing code where its already duplicated, and adding it to methods that require the check.

            Assignee:
            hana.pearlman@mongodb.com Hana Pearlman
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: