[CSHARP-515] ReadOnlyCollection<> should be mapped to EnumerableSerializer<> by default Created: 02/Jul/12 Updated: 20/Mar/14 Resolved: 12/Jul/12 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.4.2 |
| Fix Version/s: | 1.6 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Roman Pacheco | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
System.Collections.ObjectModel.ReadOnlyCollection<> should be mapped to EnumerableSerializer<> in the BsonDefaultSerializer's static constructor. |
| Comments |
| Comment by auto [ 12/Jul/12 ] |
|
Author: {u'date': u'2012-07-12T11:39:52-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by auto [ 12/Jul/12 ] |
|
Author: {u'date': u'2012-07-12T11:33:47-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by Craig Wilson [ 02/Jul/12 ] |
|
Hi Roman. This is already accounted for in version 1.5. Persistence to the database works fine. However, hydration from the database does NOT work in 1.5. It is too late to get it into 1.5, but I'll schedule it for 1.6 as a special case that will need to be accounted for. |