Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1027

Introduce classes for deprecated BSON types

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0-beta1, 1.4.0
    • Component/s: None
    • Labels:
      None

      Description

      As mentioned in mongodb/mongo-php-driver#663:

      Perhaps we can settle on a way to allow deserialization of these types in existing BSON while still making it terribly inconvenient for users to insert such values (e.g. BSON classes with private constructors).

      Having classes for deprecated BSON types (i.e. undefined, symbol, DBPointer) will at least allow users to round-trip BSON through the PHP driver without any loss of field data.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              derick Derick Rethans
              Reporter:
              jmikola Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: