Use mongoc_uri_finalize_options to validate mongoc_uri_t before client construction

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Historically, PHPC has copied various internal mongoc_uri_finalize_x functions to ensure URI array options are validated the same as options in the parsed connection string. With CDRIVER-4250, we will be able to call a function directly that uses the same logic within libmongoc.

      This will benefit upcoming enhancements for SRV options, loadBalanced validation, and address a previous inconsistency with authSource validation.

            Assignee:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: