Details
-
Bug
-
Resolution: Fixed
-
Minor - P4
-
2.18.0
-
None
Description
Hi,
after switching from V2 to V3 we get an exception by filtering with Odata:
https://localhost:5001/odata/items?&$filter=id%20eq%20%27000000000000000000000001%27%20
MongoDB.Driver.Linq.ExpressionNotSupportedException: 'Expression not supported: Convert($it.Id, String).'
public class Item
{
[BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
public string Id
}
Thanks!