Connection string defaults booleans to false instead of null when non-boolean value is specified

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.11.0
    • Affects Version/s: None
    • Component/s: Configuration
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Consider a connection string like mongodb://localhost/?retryWrites=foo.

      The ConnectionString will issue a warning, but then set retryWrites to false. I'd expect it to set it (and any other boolean property) to null, so it picks up the default value (which is not always false).

            Assignee:
            Jeffrey Yemin
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: