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

Fill in the types for UpdateFilter

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.0.0
    • Affects Version/s: 4.0.0
    • Component/s: None
    • Labels:
    • Not Needed

      UpdateQuery was left very permissive after the work done in NODE-3115 and can be improved. We should add the various operators that are accepted.

      Reference: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/mongodb/index.d.ts#L1903-L1927

      AC:
      Make sure to uncomment community tests
      If the tests aren't in the best state, i.e. not using tsd assertions over code samples, file a ticket to address the improvement.

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: