Improve test coverage of type map behavior for objects implementing Persistable

XMLWordPrintableJSON

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

      While the type map can override the default behaviour when unserialising data serialised from an object implementing MongoDB\BSON\Persistable, this does not extend to class names that implement MongoDB\BSON\Unserializable (see comment in tests/bson/bson-toPHP-015.phpt. Tests should cover all documented type map behaviour to avoid regressions when refactoring type maps in the future.

            Assignee:
            Unassigned
            Reporter:
            Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: