Closed gvas closed 7 years ago
Thanks. I've cleaned up your pr.
Cool, thanks!
Any idea when this fix will be available from NuGet as .23? I'm in the midst of working with OData and AutoMapper and I believe this will fix my issue when performing an $expand and $top/$skip together.
Released as 0.23.0
The nongeneric
DecompiledQueryable
andAsyncDecompiledQueryable
classes were deleted. Work is delegated to the genericCreateQuery<TElement>()
methods from the nongeneric ones inDecompiledQueryProvider
and inAsyncDecompiledQueryProvider
.All classes that implement
IQueryable
should also implementIQueryable<T>
and vice versa. The nongenericIQueryable
exists primarily to give you a weakly typed entry point primarily for dynamic query building scenarios. source Entity Framework's query provider does the same work delegation. source This change also prevents the exceptions thrown by Microsoft's OData implementation when it tries to cast a compiled query to anIQueryable<T>