Ensure read preference tags sets serialize as documents

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.2.0
    • Affects Version/s: 1.0.0-alpha1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: