-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 2.18.0
-
Component/s: LINQ3
-
None
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!