ObservableCollection<T> is incorrectly serialized with BsonClassMapSerializer

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 1.0
    • Affects Version/s: 0.11
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Properties with a runtime type of ObservableCollection<T> get serialized with BsonClassMapSerializer which causes the items to not be serialized. Registering EnumerableSerializer<> to be used fixes the problem. I have submitted the following pull request for consideration:
      https://github.com/mongodb/mongo-csharp-driver/pull/45

            Assignee:
            Robert Stam
            Reporter:
            Kevin Lewis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: