[CSHARP-865] Derive IMongoQuery, IMongoSortBy, IMongoUpdate, IMongoFields from IConvertibleToBsonDocument Created: 30/Nov/13 Updated: 08/Apr/19 Resolved: 08/Apr/19 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.8.3 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Roman Kuzmin | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
For applications that deal with generic documents including produced by the driver builders would be much easier if empty interfaces IMongoQuery, IMongoSortBy, IMongoUpdate, IMongoFields were derived from IConvertibleToBsonDocument. Besides, completely empty interfaces are rather confusing in the public API, see this discussion, for example: |
| Comments |
| Comment by Ian Whalen (Inactive) [ 08/Apr/19 ] |
|
These are interfaces for the legacy API to which we do not plan on making non-bug fix changes. Closing as Won't Fix. |