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

XMLWordPrintableJSON

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

      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
              Reporter:
              Andrei Izotov
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: