Skip to content

Conversation

nbbeeken
Copy link
Contributor

This made it passed testing because if maxWireVersion is a number then so is min and the actual 'less than' comparison is correct.

@nbbeeken nbbeeken requested a review from emadum January 11, 2021 15:24
nbbeeken referenced this pull request Jan 11, 2021
MongoOptions introduce a well typed HostAddress type that tracks
the correct shape of a host's address depending on its type.
The MongoClientOptions type inherit from node's TLS and Socket options
and use our allow list of options to maintain a connection between the
types and programmatic processing of options. The hierarchy of options
from MongoClient > Topology > Server > ConnectionPool > Connection have
been corrected and clarified for responsibilities.

NODE-2704
@nbbeeken nbbeeken merged commit 421fe6e into master Jan 11, 2021
@nbbeeken nbbeeken deleted the fix/supportedServerVersion branch January 11, 2021 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants