[CSHARP-4494] Consider marking ObjectSerializer and similar serializers sealed Created: 25/Jan/23 Updated: 09/Jan/24 |
|
| Status: | Backlog |
| Project: | C# Driver |
| Component/s: | Serialization |
| Affects Version/s: | 3.0.0 |
| Fix Version/s: | 3.0.0 |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | James Kovacs | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Epic Link: | Implement 3.0 release | ||||||||||||
| Quarter: | FY24Q3 | ||||||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||||||
| Description |
|
Certain IBsonSerializer<T> classes such as ObjectSerializer are not intended to be used as base classes for other serializers. We should review our serializers and mark any "terminal" serializers as sealed. This is a breaking change and should be done for the 3.0.0 release. Changing these serializers to be sealed will make implementing CSHARP-3315 easier. |