-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
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.
- depends on
-
PHPC-353 Support read preference and write concern in Manager options array
- Closed
-
PHPC-229 Support options array in second parameter of Manager constructor
- Closed
- is related to
-
PHPC-801 Empty ReadConcern and WriteConcern should serialize to BSON documents
- Closed
-
PHPC-498 ReadPreference, ReadConcern, and WriteConcern should serialize to BSON
- Closed
- related to
-
PHPC-358 Strictly validate readPreferenceTags from Manager options array
- Closed