Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 3.3.0.CR1
    • Fix versions: 3.3.0.CR1
    • Components: Core
    • Labels:
    • Sprint:

      Description

      This query throws an exception saying that AndAlso cannot be applied to types Boolean and ItemB:

      var nameCountDictionary = session.Query<SomeEntity>.Where(x => x.SomeProperty == true && collection.Contains(x.ItemA.ItemB)).GroupBy(x => x.ItemA.ItemB.Name).Select(x => new

      { Key = x.Key, Count = x.Count() }

      );

      Probably related to recent isses regarding group by.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rjperes Ricardo Peres
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Who's Looking?