Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Commented Issue: Empty SingleResult cannot be formatted by the ODataFormatter [1040]

$
0
0


public override SingleResult<Customer> GetCustomer(int key)
{
return SingleResult.Create(Enumerable.Empty<Customer>());
}
Comments: If I am not mistaken, a non-odata api call which returns a SingleResult with an empty resultset would not cause a 404 right now. Are you saying that we need to fix both cases, or only at the OData serializer layer?

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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