Investigate Interface Usage in Bson library

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 2.0
    • Affects Version/s: 1.4.2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      BsonClassMap.RegisterClassMap<IInterface> will not work correctly, even though there might be some validity to the need. Let's investigate this as well as other aspects of using interfaces as domain entities.

      [Edit 2015-04-08]

      Instead of calling BsonClassMap.RegisterClassMap<IInterface>, what is actually needed is to call BsonSerializer.RegisterSerializer<IInterface>(...). See comment below created on 2015-04-08.

            Assignee:
            Robert Stam
            Reporter:
            Craig Wilson
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: