adding _id to a *bson.Document mutates the document.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.0.18
    • Affects Version/s: 0.0.7
    • Component/s: CRUD
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      While the driver should add an ID in these cases, I don't think that its correct that the driver should mutate the document you have a pointer to.

              Assignee:
              Unassigned
              Reporter:
              Sam Kleinman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: