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
I use enums with PostgresDB. In one of model types I have an array of enum values.
An attempt to run "optimize --nativeaot" results in "A lambda expression with a statement body cannot be converted to an expression tree" compiler error.
Bug description
I use enums with PostgresDB. In one of model types I have an array of enum values.
An attempt to run "optimize --nativeaot" results in "A lambda expression with a statement body cannot be converted to an expression tree" compiler error.
Your code
Generated TestModelEntityType
EF Core version
9.0.3
Database provider
Npgsql.EntityFrameworkCore.PostgreSQL
Target framework
.NET 9
Operating system
No response
IDE
No response
The text was updated successfully, but these errors were encountered: