FilterDefinitionBuilder doesn't account for all the variants of Eq, Gte, In, etc... where arrays or scalars are allowed

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For instance, the new FilterDefinitionBuilder expression tree support doesn't account for performing an "equality" test for a single item against an array.

      class Person
      {
        public string[] Colors;
      }
      
      Builders<Person.Filter.Eq(x => x.Colors, "red"); // compile error
      

              Assignee:
              Unassigned
              Reporter:
              Craig Wilson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: