OrderBy with an expression that doesn't resolve to a field is not supported

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 2.19.0
    • Affects Version/s: 2.13.2
    • Component/s: LINQ3
    • None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      When compiling a Queryable with an order-by expression that uses null-coalescing to default(T) errors are thrown during execution.

      I've attached a picture with one of our queries that results in an error.
      I've also attached our problem details error json.

      2022-11-12: See comment below for a minimal reproduction.

        1. image-2021-11-11-10-14-04-081.png
          image-2021-11-11-10-14-04-081.png
          55 kB
        2. exception.json
          17 kB

            Assignee:
            Robert Stam
            Reporter:
            Rick van Lieshout
            Votes:
            8 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: