WriteResult debug handler should return objects

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.2.3
    • Affects Version/s: 1.1.4
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, WriteResult's debug handler flattens its internal objects (e.g. upserted IDs, write errors) to arrays. We should expose them as objects, which will allow us to re-use code from the getters and also make __debugInfo() more usable when we implement PHPC-470.

            Assignee:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: