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

$set type for update many is Record<string, undefined> which blocks any usage of this function

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • None
    • None
    • Not Needed

    Description

      What problem are you facing?

      Since the latest 4.9.0 version updateMany() is unusable:

      Type of set is :

      (property) $set?: Readonly<

      { [x: string]: undefined; }

      > | undefined

      Which block passing any value to $set.

      What driver and relevant dependency versions are you using?

      4.9.0

      Steps to reproduce?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andrei@globus-china.com Andrei Izotov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: