[CSHARP-4495] Add conventions and attributes to configure ObjectSerializer AllowedTypes Created: 26/Jan/23  Updated: 08/Jan/24

Status: Backlog
Project: C# Driver
Component/s: Serialization
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Robert Stam Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: FY24Q1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CSHARP-4475 Add an AllowedTypes filter to ObjectS... Closed
Epic Link: Improve Serialization
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

ObjectSerializer was recently changed to have an AllowedTypes filter that defaults to a set of framework types that are deemed to be safe.

While an application can reconfigure the AllowedTypes by registering a suitably configured ObjectSerializer, in many cases it could be more convenient to register a convention or use attributes to annotate the POCO.

Details to be determined.


Generated at Wed Feb 07 21:48:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.