mongodb-rest
mongodb-rest copied to clipboard
Mongo URI's with replica sets don't work
Mongo connections with replica sets have uri's that contain query parameters. These are broken by the setup of the connection string https://github.com/codecapers/mongodb-rest/blob/master/lib/rest.js#L85-L105
I have a fix for this, and I can submit a PR. My approach is to basically detect query parameters, add them onto the end of the url, and pass things around appropriately.
Please submit your PR.
Any update on this?