You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an issue with $apply=groupby(). It seems the groupby is not taking place. When use EnableQuery it works but without EnableQuery it is not working.
Example code:
[HttpGet]
[Route("EmsLogs")]
[ProducesResponseType(typeof(IEnumerable<EmsLog>), StatusCodes.Status200OK)]
public async Task<IActionResult> Get(ODataQueryOptions<EmsLog> queryOptions, CancellationToken cancellationToken = default)
{
queryOptions.Validate(new DefaultValidationSettings());
var smartAppIds = await _smartAppCacheProvider.GetAsync(cancellationToken);
var result = await _repository
.AsQueryable(new EmsLogViewSmartAppIdSpecification(smartAppIds))
.GetQueryAsync(_mapper, queryOptions, new DefaultQuerySettings());
return Ok(result);
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi
We have an issue with $apply=groupby(). It seems the groupby is not taking place. When use
EnableQueryit works but withoutEnableQueryit is not working.Example code:
We see this PR for over a year:
#108
Is there a workaround for this?
All reactions