Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-468

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.18
    • Affects Version/s: 0.0.7
    • Component/s: CRUD
    • 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 Unassigned
            Reporter:
            sam.kleinman Sam Kleinman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: