-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Configuration
-
None
-
Fully Compatible
-
Needed
To nudge people further towards com.mongodb.client.MongoClient interface and away from com.mongodb.MongoClient, we should:
- Add com.mongodb.MongoClient constructors matching the factory methods in com.mongodb.client.MongoClients
- Add methods to class com.mongodb.MongoClient to match those in interface com.mongodb.client.MongoClient
- Add a method to initialize a MongoClientOptions.Builder from a MongoClientSettings instance
- Add a method to create a MongoClientSettings instance from a MongoClientOptions instance plus connection-related properties