Merge connstring and ClientOptions validation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Connection String
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The ConnString type has functions to validate auth/ssl/etc, but this validation would not be done if ClientOptions were used instead of a URI. I wrote up a minimal example at https://gist.github.com/divjotarora/e4f8c9f14bfc154c857f9a1fb5a73f99. The clientFromURI function sees an error from NewClient because SCRAM-SHA-1 requires a username. The clientFromOpts function sees no error.

              Assignee:
              Preston Vasquez
              Reporter:
              Divjot Arora (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: