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

Fill in the types for UpdateFilter

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Unknown
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • None
    • None
    • Not Needed

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              eric.adum@mongodb.com Eric Adum (Inactive)
              neal.beeken@mongodb.com Neal Beeken
              Neal Beeken Neal Beeken
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: