Skip to content
This repository has been archived by the owner on Sep 9, 2018. It is now read-only.

Mongo URI's with replica sets don't work #17

Open
ZECTBynmo opened this issue Jan 10, 2016 · 2 comments
Open

Mongo URI's with replica sets don't work #17

ZECTBynmo opened this issue Jan 10, 2016 · 2 comments

Comments

@ZECTBynmo
Copy link

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.

@ashleydavis
Copy link
Owner

Please submit your PR.

@tscislo
Copy link

tscislo commented Jul 3, 2017

Any update on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants