[CSHARP-687] UpdateBuilder.Combine cannot be used with UpdateBuilder<T> and vice versa Created: 18/Feb/13 Updated: 20/Mar/14 Resolved: 08/Mar/13 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Feature Request |
| Affects Version/s: | 1.7 |
| Fix Version/s: | 1.8 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | jonathan roeder | Assignee: | Craig Wilson |
| Resolution: | Done | Votes: | 0 |
| Labels: | driver, update | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
n/a |
||
| Description |
|
It is not possible to pass an UpdateBuilder<T> into the UpdateBuilder.Combine method, or an UpdateBuilder into an UpdateBuilder<T>.Combine method. It is Perhaps the Combine methods should take IMongoUpdate as the argument type instead, or UpdateBuilder<T> could be made to inherit from UpdateBuilder and the UpdateBuilder<T>.Combine method switched to take UpdateBuilder instead of UpdateBuilder<T>. |
| Comments |
| Comment by jonathan roeder [ 10/Mar/13 ] |
|
Excellent, thanks Craig! |
| Comment by auto [ 08/Mar/13 ] |
|
Author: {u'date': u'2013-03-08T14:41:35Z', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |