[CSHARP-568] Improvements to BsonObjectId class Created: 10/Sep/12 Updated: 14/May/14 Resolved: 10/Dec/12 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.7 |
| Fix Version/s: | 1.8 |
| Type: | Improvement | Priority: | Minor - P4 |
| 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 |
|
Remove all properties and methods from BsonObjectId that do nothing but forward to the method of the same name in ObjectId. This class is a BsonValue wrapper around an ObjectId value, and there is no need to clutter this class's interface with ObjectId methods, and their presence is just confusing because they make this class look sort of like an ObjectId when it's not. These are the properties and methods to remove:
Sample workarounds (where v is BsonObjectId):
|
| Comments |
| Comment by auto [ 10/Dec/12 ] |
|
Author: {u'date': u'2012-12-08T03:49:07Z', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by Robert Stam [ 07/Dec/12 ] |
|
Reopened to backport to 1.8. |
| Comment by auto [ 12/Sep/12 ] |
|
Author: {u'date': u'2012-09-12T11:46:09-07:00', u'email': u'craiggwilson@gmail.com', u'name': u'Craig Wilson'}Message: |
| Comment by auto [ 12/Sep/12 ] |
|
Author: {u'date': u'2012-09-11T09:14:05-07:00', u'email': u'craiggwilson@gmail.com', u'name': u'Craig Wilson'}Message: |