MergeClientOptions returns `nil` when given a single `nil` argument

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 2.0.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Minor Change
    • Go Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Detailed steps to reproduce the problem?

      While this isn't exactly a bug, it does lead to unexpected behavior. MergeClientOptions should always return a non-nil object.

      Definition of done: what must be done to consider the task complete?

      MergeClientOptions should always return a non-nil object.

      The exact Go version used, with patch level:

      go version go1.23.1 darwin/arm64

      The exact version of the Go driver used:

      2.0.0

      Describe how MongoDB is set up. Local vs Hosted, version, topology, load balanced, etc.

      NA

      The operating system and version (e.g. Windows 7, OSX 10.8, ...)

      macOS 15.0 (24A335)

      Security Vulnerabilities

      NA

              Assignee:
              Preston Vasquez
              Reporter:
              Preston Vasquez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: