Determine how BSON deserialization of 32/64-bit integers should occur

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 0.1.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket is a placeholder for discussing how we'd like to handle deserialization of BSON integers where the encoded size does not match the platform size. Ideally, we should allow lossless conversion of values between the database and PHP. Lossy conversion is not simply about 64-bit integers being serialized as 32-bit; if a 32-bit BSON type is deserialized to a 64-bit integer in PHP, we might write it back to the database as 64-bit (may be a problem in some cases).

              Assignee:
              Hannes Magnusson (Inactive)
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: