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

Ensure read preference tags sets serialize as documents

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.0
    • Affects Version/s: 1.0.0-alpha1
    • Component/s: None
    • None

      An empty tag set in the Manager options or ReadPreference constructor currently serializes as an empty PHP array. We should ensure that this is serialized as an empty BSON document (not an array) in the read preference structure.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: