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

replaceOne's replacement model type should use OptionalId

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.2
    • Component/s: None
    • Labels:
    • Documentation Changes:
      Not Needed

      Description

      The `_id` field is immutable so it shouldn't be required when using a `TModel` that includes the `_id`.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              neal.beeken Neal Beeken
              Reporter:
              bertrand@bizon.solutions Bertrand Marron
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: