-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.4.2
-
Component/s: API, Operations
-
None
Quick note. This problem arose in an upgrade from 2.2 to 2.4.2.
When doing the following:
SomeMethod
var filt1 = Builders<Thing>.Filter.Empty; var filt2 = Builders<Thing>.Filter.Empty; var filter = Builders<Thing>.Filter.And(filt1,filt2);
The rendered "filter" from above is an empty (and illegal) $and:
{[]}in version 2.2, this would render as empty.
- related to
-
CSHARP-1291 And and Or filter builder methods should handle zero clauses correctly
- Closed