Details
-
Improvement
-
Resolution: Unresolved
-
Unknown
-
2.14.0
-
None
-
None
Description
The class MongoCollectionSettings exposes the property SerializerRegistry with only a getter, and it always return the static instance of BsonSerializer.SerializerRegistry.
There is no way for pass a custom instance of SerializerRegistry, even if this was evidently the intention having it as a settings property.
I propose to add a setter, keeping static instance as default, but permitting to change it if needed.
Attachments
Issue Links
- is duplicated by
-
CSHARP-655 Proposal: support multiple serialization contexts
-
- Closed
-