Use a fixed field name for ODS BinaryData class name

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 0.4.0
    • Affects Version/s: 0.2.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Current behavior in php_phongo_bson_visit_binary() derives the hydration class from the last field it encounters that (1) containing binary data (2) with a sub-type of 0x80 and (3) contains a valid class name (after autoloading).

      While this is deterministic and clever, since it does not depend on a particular field name, it could lead to confusion among users. Using a dedicated, short field name that implies we're actually storing a PHP or HHVM class name would be more straightforward.

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

                Created:
                Updated:
                Resolved: