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

Created Issue: We should allow people setting the AllowedFunctionNames to AllFunctionNames [705]

$
0
0
[Queryable(AllowedFunctionNames=AllowedFunctionNames.AllFunctionNames)]
IQueryable<Customer> Get()
{
..
}

This will throw exception saying that AllFunctionNames is not a valid enum value. Here is the bug. in ODataValidationSettings.AllowedFunctionNames property setter, we should check against AllowedFuctionNames.AllFunctionNames, not the AllowedFunctionnames.All ( which is indeed the All function ).




Viewing all articles
Browse latest Browse all 7925

Trending Articles



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