-
Type: New Feature
-
Resolution: Done
-
Priority: Unknown
-
Affects Version/s: 2.18.0
-
Component/s: Serialization
-
None
BsonClassMap does not support deserializing structs because of boxing.
But boxing is only really an issue when trying to set property values (because the value is set on a boxed value that gets thrown away).
But if a struct provides the proper constructor(s) BsonClassMap can be modified to support deserializing structs using a constructor, as opposed to trying to set property values.
- is depended on by
-
CSHARP-1326 Grouping mongodb filtered results by reference id throws
- Closed
- related to
-
CSHARP-4392 Consider specialized subclasses of BsonClassMapSerializers
- Backlog