Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1388

Warn on unsupported URI options

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.0
    • Affects Version/s: None
    • Component/s: libmongoc, uri
    • 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:
            bjori Hannes Magnusson
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: