[CSHARP-2984] Abstract getter confuses auto property mapping Created: 01/Mar/20 Updated: 11/Nov/20 Resolved: 11/Nov/20 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Serialization |
| Affects Version/s: | 2.10.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Murray Long | Assignee: | Dmitry Lukyanov (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows |
||
| Issue Links: |
|
||||||||
| Description |
Throws exception: BsonSerializationException : Member 'Seeds' is not mapped.
The same occurs if we use a hardcoded base constructor argument instead of an abstract property
|
| Comments |
| Comment by Robert Stam [ 11/Nov/20 ] |
|
The fix for Since this issue has been marked as a duplicate of |
| Comment by Robert Stam [ 26/Oct/20 ] |
|
The root cause is that the ImmutableTypeClassMapConvention is not considering all constructors. See |