Andrea Canciani

Results 120 comments of Andrea Canciani

IIUC you are suggesting that expressions should be considered equal modulo [α-conversion](https://en.wikipedia.org/wiki/Lambda_calculus#%CE%B1-conversion). I agree on that, but I should warn you that the updated `CompareParameter` would lead to considering equal...

This could be a way to achieve database null semantics for some operations (see https://github.com/dotnet/efcore/issues/33616 for an issue related to this). When compared to a flag, it has the obvious...

> Just noting that the original query is "badly written", i.e. the user could just write: > > ```cs > db.Set().Select(x => x.NullableStringA + x.NullableStringB) > ``` #33616 is about...

> > Note that several operations cannot be easily expressed in C# without handling the null case in some way. > > What is in general the idiomatic way to...

I am not sure if this is noteworthy, but on EFCore 8.0.6 ```csharp db.Blogs.Select(x => x.NullableString == null ? default(int?) : x.NullableString.Length ).ToList(); ``` translates to ```sql SELECT length("b"."NullableString") FROM...

This is a continuation of #34080. Conceptually it also reduces the number of expressions that hit #34001, but in practice (because of the null rewriting) the expressions that it affects...

> This looks great - there's only the problem I mentioned in #33890: > > > The main difficulty here is that we have various tests exercising Coalesce functionality, which...