-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.11.0
-
Component/s: API
-
None
-
Environment:dotnet core 3.1 on Linux and Windows
-
Fully Compatible
I replace BsonDefaults.GuidRepresentation = GuidRepresentation.Standard; by BsonSerializer.RegisterSerializer(new GuidSerializer(GuidRepresentation.Standard)); to set all my app use Standard representation,
But if I do Builders<MyEntity>.Filter.Eq("_id", myGuid);, the filter is translated with CSUUID(...) in place of UUID(...).
In more largest case, how I can specify Guid representation with this type of filter ?
- related to
-
CSHARP-3195 GuidRepresentation made obsolete while function appears impared and documentation remains out of date.
- Closed