Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-817

BSON Type 0x0c (DBPointer) should be deserializable

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

      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 Unassigned
            Reporter:
            luke.lovett Luke Lovett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: