[CSHARP-4392] Consider specialized subclasses of BsonClassMapSerializers Created: 31/Oct/22 Updated: 07/Nov/22 |
|
| Status: | Backlog |
| Project: | C# Driver |
| Component/s: | Internal, Serialization |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Unknown |
| Reporter: | Robert Stam | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
BsonClassMapsSerializer has a lot of if statements to handle difference scenarios such as whether or not constructors are used to deserialize the object. Many of these if statements could be removed if we had specialized subclasses of BsonClassMapSerializer for different scenarios. |