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

Change OptWriteConcern to directly wrap a writeconcern.WriteConcern

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.9
    • Affects Version/s: 0.0.2
    • None

      Currently we place the writeconcern passed to some dispatch commands, like Aggregate, as a parameter so we can control if we actually send it. We wind up having to iterate through the options slice to determine if we need to apply our own write concern or a user's write concern.

      Once the work in GODRIVER-272 and GODRIVER-337 is complete we can have the option stacks for the collection methods extract the write concern and pass it directly as the parameter for a dispatch function.

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: