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

Allow option.Optioner to return an error

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.4
    • Affects Version/s: 0.0.2
    • Labels:
      None

      The option.Optioner type currently does not return an option, which causes problems for types like WriteConcern that can return an error when marshaling to BSON. Update the option.Optioner type to return an error and update all implementations to return an error.

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

              Created:
              Updated:
              Resolved: