[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: |
|
||||||||
| Epic Link: | Improve Serialization | ||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||
| 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. |