Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-3452

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

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

      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@mongodb.com Preston Vasquez
            Reporter:
            preston.vasquez@mongodb.com Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: