Closed Glockenbeat closed 5 years ago
Guess Node 0.10 doesn't really matter, does it?
Well it does, but the error comes from a completely different place ( aws-sdk ), how did the tests pass up until now? I mean you have changed nothing in the aws-sdk setup in this commit.
It’s because of >=
Perhaps aws-sdk dropped compatibility?
Btw. Can’t this be achieved by simply setting the options.url ?
@adrai seems the only difference is the +srv
on the protocol side, as such it should be totally achievable with url option.
Holy smokes, I didn't see the url option up until now, although it was right in my face. Just tested, works fine with that if I set the full URL myself. Another difference is that the MongoClient won't accept a port though and will throw, but that is fine when setting the url myself.
Closing the request as it is not needed at all. Sorry for wasting your time.
This will enable MongoDB Atlas mongodb+srv:// URLs to be used without specifying the single servers, therefore being able to change and scale any MongoDB cluster without affecting any client.