-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.4.2
-
Component/s: Serialization
-
Environment:Local environment (Developer Machine)
I am currently trying to update our MongoDB references to the latest (2.4.2) to allow our DBA team to upgrade our environments to the latest Mongo 3.4.
Updating the references using Nugget packages has shown a breaking changes affecting our production code and stopping us from a smooth upgrade.
the issue: when using a nullable type array in the Expression (Func) filter - the mongoC# Driver throws an exception:
{"Unable to cast object of type 'MongoDB.Bson.Serialization.Serializers.ArraySerializer`1[System.Nullable`1[System.Guid]]' to type 'MongoDB.Bson.Serialization.IBsonSerializer`1[System.Guid]'."}I have added a small app on my github that replicate the issue if that can be of any help.
I am not sure if this was the right channel to log the issue and I want to apoloy if this was not the case.
The github address for the relevant repository: https://github.com/Sifou13/MongoNullableArrayFilterIssue
- duplicates
-
CSHARP-1777 Regression 2.3 driver- Nullible List Contains operator
- Closed