Warn on unsupported URI options

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 1.7.0
    • Affects Version/s: None
    • Component/s: libmongoc, uri
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The spec says to warn on unsupported options, but not to fail:

      https://github.com/mongodb/specifications/blob/master/source/connection-string/connection-string-spec.rst#defining-connection-options

      mongoc_uri_parse_option should call MONGOC_WARN for any option it doesn't recognize. We'll need to ensure all recognized options are listed somewhere in mongoc-uri.c.

              Assignee:
              Hannes Magnusson (Inactive)
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: