[CSHARP-561] Deprecate some BsonDocument Add methods to AddRange and remove a few of the overloads Created: 08/Sep/12 Updated: 14/May/14 Resolved: 30/Nov/12 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.6 |
| Fix Version/s: | 1.8 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Minor Change |
| Description |
|
Add methods normally add a single item and methods that add multiple items are normally called AddRange in .NET. We also want to eliminate a few of the less useful overloads to simplify the API. Also, change from IDictionary<K,V> parameters to IEnumerable<KeyValuePair<K,V>> parameters. |
| Comments |
| Comment by Robert Stam [ 03/Dec/12 ] |
|
Pushed to master. |
| Comment by auto [ 03/Dec/12 ] |
|
Author: {u'date': u'2012-12-02T15:34:03Z', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: Conflicts: |
| Comment by Robert Stam [ 30/Nov/12 ] |
|
Backport to 1.8 is in code review. Only backported the AddRange methods, the rest of x2.0 work on this issue (commit e11c83) is backward breaking. |
| Comment by Robert Stam [ 29/Nov/12 ] |
|
Reopened to backport to 1.8. Will only backport adding the AddRange methods. The existing Add methods will be marked as deprecated but will still be there and will forward to the new AddRange methods. |
| Comment by Robert Stam [ 09/Sep/12 ] |
|
Pushed to x2.0. |
| Comment by auto [ 09/Sep/12 ] |
|
Author: {u'date': u'2012-09-08T09:19:58-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by Robert Stam [ 08/Sep/12 ] |
|
In code review. |