BSON Type 0x0c (DBPointer) should be deserializable

XMLWordPrintableJSON

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

      BSON type 0x0c (DBPointer) is deprecated, but it should still be deserializable.

      By comparison, the Python driver automatically converts DBPointers to DBRefs and re-serializes them as such, since any DBPointer can be represented by a DBRef. This particular behavior is not required by any specification, but it is convenient. Being able to deserialize DBPointer to anything at all is required for reading documents that contain DBPointer without raising an error (which in turn requires the user to specify a projection in order to extract any other fields).

            Assignee:
            Unassigned
            Reporter:
            Luke Lovett (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: