[CSHARP-1009] Consider supporting JSON based MongoClient configuration Created: 26/Jun/14 Updated: 01/Apr/19 Resolved: 01/Apr/19 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Configuration |
| Affects Version/s: | 1.9.1 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Robert Stam | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Our current mechanisms for configuring a MongoClient are: 1. Use a "mongodb://..." style URL It would be useful to support a JSON based configuration option, where a JSON document could be used to supply the values for the MongoClientSettings. This could have a number of interesting benefits: 1. It could represent nested values better than a linear URL can Implementing this feature should be dependent on all drivers agreeing on the format of the JSON configuration document so that configurations can be shared across drivers. |