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

Client Options should be last one wins

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

      Client options should be last options wins, but this only happens if the original connection string does not contain that option. If the original connection string does contain an option, for instance AuthSource, then no options can overwrite that option, which is not the desired behavior.

      Update the clientopt package and the clientopt.Bundle.Unbundle method to ensure that the last option wins and that options overwrite the original connection string parameters.

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

              Created:
              Updated:
              Resolved: