unify means of applying `ignoreUndefined`

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.0
    • Affects Version/s: None
    • Component/s: Native, Operations Layer
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Matt Broadstone
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: