[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:
http://stackoverflow.com/questions/3310936/interface-without-any-methods-bad-practice



 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.

Generated at Wed Feb 07 21:38:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.