-
Type: Bug
-
Resolution: Done
-
Priority: Blocker - P1
-
Affects Version/s: None
-
Component/s: None
-
None
Hey - as discussed at the 2015-06-15 meeting:
There was inconsistency issue with Hippo vs. Phongo regarding what type (stdClass or array) should be the top level type. We decided to made it consistent as what we already did for embedded documents, and make every document come back as a stdClass object. Type map should be changed to return top-level documents as stdClass. |
- depends on
-
PHPC-315 Support explicit type mapping for top-level documents
- Closed
- duplicates
-
PHPC-318 Cursor type map should apply to top-level document
- Closed
- is related to
-
PHPC-330 Always include __pclass property when decoding BSON to PHP
- Closed
-
PHPC-331 Throw exceptions for BSON (de)serialization errors
- Closed
- related to
-
PHPLIB-74 Default BSON document and array unserialization to ArrayObject classes
- Closed
-
PHPC-314 Implement type map syntax for documents within field paths
- Closed
-
PHPC-311 Rename BSON from/toArray() methods to from/toPHP()
- Closed