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.
- is duplicated by
-
CSHARP-2711 only fields are allowed in a $sort when ordering by a nullable field
- Closed
-
CSHARP-3911 LINQ3: OrderBy/OrderByDescending with expression throws ExpressionNotSupportedException
- Closed