-
Type: Bug
-
Resolution: Gone away
-
Priority: Unknown
-
None
-
Affects Version/s: 2.19.0
-
Component/s: None
Summary
Upgrading to LINQ provider 3 caused unexpected behavior in our application. Here's a query that returns results in v2, but returns nothing on v3:
query.Where(x => x.ClientName.ToLower().Contains(dto.Client) || x.ClientEmail.ToLower().Contains(dto.Client) || x.AdditionalClients.Any(c => c.ClientName.ToLower().Contains(dto.Client) || c.ClientEmail.ToLower().Contains(dto.Client)));
Has the behavior of Contains changed intentionally?
Driver: 2.19
Server: Atlas 5.0.15