Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Viewing all articles
Browse latest Browse all 7925

Commented Issue: $orderby on non-comparable property will cause selfhost server close remote connection [434]

$
0
0
For example: $orderby=ByteArrayProperty, CollectionProperty, ComplexTypeProperty, NavigationProperty.

We should report proper error for such case instead of closing the connection.
Comments: This is Won't Fix'ed. The real issue here is that the self host server is not sending back the right error message to the client. We will hopefully fix this issue in vNext. As for possible workarounds, we could detect that the provider is Linq to objects and require that OrderBys happen on IComparable types, but that would be specific to the Linq to objects provider and would not apply to custom query providers.

Viewing all articles
Browse latest Browse all 7925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>