Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query: Use object.Equals rather than Expression.Equal when constructing comparison in query #28608

Merged
1 commit merged into from
Aug 6, 2022

Commits on Aug 5, 2022

  1. Query: Use object.Equals rather than Expression.Equal when constructi…

    …ng comparison in query
    
    Not all types implement equality operator, so it can throw exception.
    Reference types, Nullable<T> & known types are ok to be used with Expression.Equal
    
    Originally reported in npgsql/efcore.pg#2458
    smitpatel committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    7672874 View commit details
    Browse the repository at this point in the history