burakkaradag

Results 4 comments of burakkaradag

I am having the same problem. I can't select, expand. Anyone found a solution to this problem? public async Task Get(ODataQueryOptions oDataQueryOpts) { var products = _genericReadRepository.GetAll().ProjectToType(); var odataQueryFilter =...

is this the repro? https://github.com/OData/AspNetCoreOData

ow no sory @mikepizzo netcoreapp3.1 OData 7.5.7 I have the problem in this version I updated my first comment

hurray! this method worked for me before ``` [HttpGet] [EnableQuery] [ProducesResponseType((int)HttpStatusCode.OK, Type = typeof(List))] public async Task Get(ODataQueryOptions oDataQueryOpts) { var products = _genericReadRepository.GetAll().ProjectToType(); var odataQueryFilter = oDataQueryOpts.ApplyTo(products.AsQueryable()).Cast(); return Ok(odataQueryFilter.ToList());...