Issues
Issues copied to clipboard
Database projection error
Severity
Sev-3-low
Version
2024.1.12401
Latest Version
None
What happened?
Customer is seeing warnings in their logs after upgrading from 2023.3.13001 to 2024.1.12401
Reproduction
Error and Stacktrace
A database projection predicate was not supported by the query provider. Falling back to a full-table scan.
System.NotSupportedException: Only method calls that take a single string argument and Enumerable.Contains methods are supported
at Nevermore.QueryBuilderWhereExtensions.AddWhereClauseFromExpression[TRecord](IQueryBuilder`1 queryBuilder, Expression expr)
at Octopus.Core.Persistence.Database.DatabaseDocumentStore`2.Project[TProjection](Expression`1 predicate, Func`2 projection, CancellationToken cancellationToken)
More Information
No response
Workaround
No response