DictionarySerializerBase should not implement IBsonDocumentSerializer

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Unknown
    • 4.0.0
    • Affects Version/s: None
    • Component/s: LINQ, Serialization
    • None
    • None
    • Dotnet Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      IBsonDocumentSerializer is implemented by serializers where properties of a POCO are mapped to elemens in a BsonDocument.

      That is not true of a Dictionary, not even if the dictionary is represented as a BsonDocument.

      When a Dictionary is represented as a BsonDocument the elements correspond to key values, not to properties of the Dictionary class, which is why implementing this interface is almost certainly wrong.

            Assignee:
            Unassigned
            Reporter:
            Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: