Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-4494

Consider marking ObjectSerializer and similar serializers sealed

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • 3.0.0
    • 3.0.0
    • Serialization
    • None
    • Hide

      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?

      Show
      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            james.kovacs@mongodb.com James Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: