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

ScalarDiscriminatorConvention class should implement IScalarDiscriminatorConvention interface

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 3.3.0
    • Affects Version/s: 3.1.0
    • Component/s: LINQ3, Serialization
    • Fully Compatible
    • Dotnet Drivers
    • Needed
    • 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?

      Not sure if documentation is needed. If we documented that there was this limitation then we should remove that.

      The limitation was that OfType and was not supported with scalar discriminators.

      Show
      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? Not sure if documentation is needed. If we documented that there was this limitation then we should remove that. The limitation was that OfType and was not supported with scalar discriminators.

      ScalarDiscriminatorConvention doesn't implement IScalarDiscriminatorConvention.

      This breaks IMongoCollection.OfType<T> when the class T uses a ScalarDiscriminatorConvention

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            stijn.tallon@actemium.com Stijn Tallon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: