-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: 3.4.0
-
Component/s: Serialization
-
None
At the moment our implementation of discriminators is strictly connected to the use of BsonClassMaps. For example, our Scalar/Hierarchical discriminator conventions only work with BsonClassMap (`GetDiscriminator` relies on class map being registered).
We should try to make discriminator conventions completely independent from BsonClassMap so that they can be used with different kind of serializers eventually.