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

Allow option.Optioner to return an error

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 0.0.4
    • 0.0.2
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: