-
-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Issue converted to Proposal by @Turnerj 2023-06-04
Proposal
Allow finer control of the serialization system for MongoDB through MongoFramework. Currently you can not control the BSON Representation (eg. C# string can't be represented as BSON ObjectId) however doing so allows greater compatibility in a number of scenarios.
This could be accomplished well with support for defining the serializer per-property in MongoFramework. With the appropriate extension methods during the builder process, you could then control the representation that would be used. This first-party support would then unlock the ability to do the same attribute-level control of serializer (and optionally representation).
Original Issue
It does not allow me to read the entities of a mongo database due to this problem.
