NODE-7932ClosedWon't Fix

Add serverSelector MongoClient option to target one replica set member or mongos

h3. Use Case *As a* driver user *I want* a {{serverSelector}} function option on {{MongoClient}} that narrows server selection to a specific member of a replica set or a specific mongos *So that* I can target one member while the driver keeps discovering the rest of the deployment (unlike {{{}directConnection{}}}, which forces a Single topology and skips discovery). Matches PyMongo's {{{}server_selector{}}}. h3. User Experience Not a URI option, since the value is a function. Omitting t

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
external-PR