-
Type: Improvement
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Options & Configuration
-
None
Configuring a topology.Topology, topology.Server, or connection.Connection currently requires using self referential functions, but the parameters to these options are themselves functions to enable adaptive changing of settings. While this is a useful design for complex configuration scenarios, the configuration of these types is simple. Additionally, since the configuration types are all private, it is extremely difficult to test if they have been correctly setup.
Remove the current way options are configured for the topology.Topology, topology.Server, and connection.Connection types and make their configuration types public. This configuration should operate in the same manner as the options for mongo.Client and other similar types.
- is depended on by
-
GODRIVER-793 Remove all public use of 'x' packages in the options package
- Closed