The problem of filtering by derived types

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Dotnet Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      When using a filter on derived types, an attempt is made to obtain a type discriminator, after which it is not used in any way, which may not be possible for scalar conventions.

       

      https://github.com/mongodb/mongo-csharp-driver/blob/main/src/MongoDB.Driver/FilterDefinitionBuilder.cs#L2215C29-L2215C30

        1. image-2025-10-17-09-15-16-160.png
          113 kB
          Евгений Зайцев

            Assignee:
            Ferdinando Papale
            Reporter:
            Евгений Зайцев
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: