[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:
Related
related to CSHARP-3315 LINQ3: Serializers should implement E... Backlog
is related to CSHARP-3679 Remove internal APIs from MongoDB.Core Backlog
Epic Link: Implement 3.0 release
Quarter: FY24Q3
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   

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.


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