Details
-
Task
-
Resolution: Works as Designed
-
Unknown
-
None
-
None
-
None
Description
Running the code in the attached project results in an exception:
System.InvalidOperationException: 'An Array value cannot be written to the root level of a BSON document.'
when using MongoDB.Bson version 2.11.0 or higher.
The issue does not reproduce when using 2.10.4 or lower.
It seems to be related to CSHARP-2877.
Attachments
Issue Links
- related to
-
CSHARP-2877 Default BsonSerializationArgs sometimes has null NominalType
-
- Closed
-