MongoDB.connect should only merge in options for server, replset and mongos

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 2.2.24
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Should not allow

      
      // Connection URL
       
      var url = 'mongodb://mvamgo2:27000/test?replicaSet=rs1&ssl=true'
       
      var options = { wutPropertyLol:
              {
                sslValidate: false
              }
      };
       
      // Use connect method to connect to the server
      MongoClient.connect(url, options, function(err, db) {
      

              Assignee:
              Unassigned
              Reporter:
              Christian Amor Kvalheim
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: