-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
PHP Drivers
-
None
-
None
-
None
-
None
-
None
-
None
The encryptedFieldsMap requires setting bsonType of each field path. In order to prevent any typo in this definition, the PHPLIB should provide a list of existing BSON types.
An enum can be used as it allows typing.
We can also add an interface BSONType with a method getBSONTypeName() that other classes could implement (like Doctrine Type class).