-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.2
-
Component/s: BSON, Serialization
-
None
-
Fully Compatible
I need to set a custom BaseClassMap creating a new ClassMap, but i need also to initialize a generic instance. BaseClassMap proeprty is accessibile only in get from BsonClassMap, but I'd like to set that value when I initialize a new BsonClassMap<TClass>.
At now I'm injecting a value with Reflection, but it's not a safe solution.
- related to
-
CSHARP-1253 Cannot deserialize inherited members with aggregation queries (fluent API)
- Closed