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

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Not Needed

      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?

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

              Created:
              Updated:
              Resolved: