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

replaceOne's replacement model type should use OptionalId

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.2
    • Affects Version/s: None
    • Component/s: TypeScript
    • Labels:
    • 2
    • Not Needed

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

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

              Created:
              Updated:
              Resolved: