Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-930

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

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

      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 Unassigned
            Reporter:
            christkv Christian Amor Kvalheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: