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
var settings = new ODataQuerySettings() { PageSize = 10 };
var items = await query.ApplyTo(data, settings).Cast<object>().ToListAsync(ct);
Exception: The source 'IQueryable' doesn't implement 'IAsyncEnumerable<System.Object>'. Only sources that implement 'IAsyncEnumerable' can be used for Entity Framework asynchronous operations.
The issue is:
TruncatedCollection (which is used when PageSize is provided) does not implement IAsyncEnumerable
Version: 8.0.1
The text was updated successfully, but these errors were encountered:
TruncatedCollection cannot implement IAsyncEnumerable<T> because it inherits from List<T>, but I wonder why it works this way. Is there not a way to paginate elements via IQueryable<T> like it happens with $expand and $select which have their own wrappers?
The code below will fail:
Exception:
The source 'IQueryable' doesn't implement 'IAsyncEnumerable<System.Object>'. Only sources that implement 'IAsyncEnumerable' can be used for Entity Framework asynchronous operations.
The issue is:
TruncatedCollection (which is used when PageSize is provided) does not implement IAsyncEnumerable
Version: 8.0.1
The text was updated successfully, but these errors were encountered: