[CSHARP-562] Deprecate ReadFrom/WriteTo from the BsonDocument object model and standardize on using serialization Created: 08/Sep/12 Updated: 14/May/14 Resolved: 12/Dec/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 |
|
There is a lot of overlap between the ReadFrom/WriteTo methods in the BsonDocument object model and the serialization machinery. Attempt to remove ReadFrom/WriteTo from the BsonDocument object model and see if the serialization machinery alone can replace it. Why have two overlapping ways of doing the same thing? |
| Comments |
| Comment by auto [ 12/Dec/12 ] |
|
Author: {u'date': u'2012-12-12T15:48:38Z', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by auto [ 12/Dec/12 ] |
|
Author: {u'date': u'2012-12-11T22:01:02Z', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by Robert Stam [ 11/Dec/12 ] |
|
Reopened to backport to 1.8. ReadFrom/WriteTo will be deprecated (not removed) in 1.8 and will forward calls to the serializers. |
| Comment by Robert Stam [ 10/Sep/12 ] |
|
Pushed to x2.0. |
| Comment by Robert Stam [ 10/Sep/12 ] |
|
In code review. |
| Comment by auto [ 10/Sep/12 ] |
|
Author: {u'date': u'2012-09-09T10:14:56-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by auto [ 10/Sep/12 ] |
|
Author: {u'date': u'2012-09-08T17:20:19-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |