Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2146

Create setters for URI options

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: API
    • None

      In the C driver, there are setters for URI options. For example, we can use a function like mongoc_uri_set_auth_source to set the URI's auth source.

      There's no such concept in the C++ driver. Instead, users are forced to pass options through the URI string. This is error-prone; a typo in a string will throw a runtime error at best, while a typo in a function name will cause a compile-time error.

            Assignee:
            Unassigned Unassigned
            Reporter:
            clyde.bazile@mongodb.com Clyde Bazile III (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: