|
We have regressed on primitive scalar queries at some point during development - we were expecting coverage from the EF suite so didn't have any.
This affects count, longcount, sum, etc. with and without predicates.
Expression of type 'MongoDB.EntityFrameworkCore.FunctionalTests.Entities.Guides.Planet' cannot be used for return type 'System.Int32'
|
at System.Linq.Expressions.Expression.ValidateLambdaArgs(Type delegateType, Expression& body, ReadOnlyCollection`1 parameters, String paramName)
|
at System.Linq.Expressions.Expression.Lambda[TDelegate](Expression body, String name, Boolean tailCall, IEnumerable`1 parameters)
|
at System.Linq.Expressions.Expression.Lambda[TDelegate](Expression body, Boolean tailCall, IEnumerable`1 parameters)
|
at MongoDB.EntityFrameworkCore.Query.MongoQueryCompilationContext.CreateQueryExecutor[TResult](Expression query) in E:\src\mongoef4\src\MongoDB.EntityFrameworkCore\Query\MongoQueryCompilationContext.cs:line 49
|
|