Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
1.9.1
-
None
-
.NET
-
Fully Compatible
Description
Calling FindAndModify() method when one or more of the fields in the Update options contains an array with one or more non-primitive object (e.g. an object with two string properties) cause exception with message:
.NET type MySubType cannot be mapped to a BsonValue.
Similar closed bugs (same problem in other methods):
https://jira.mongodb.org/browse/CSHARP-198
https://jira.mongodb.org/browse/CSHARP-236