|
I think this ticket should be prioritized higher. The spec says that drivers can rely on libmongocrypt to validate options but with this bug that is not true.
Drivers MAY represent the options types in a way that is idiomatic to the driver or language. E.g. options MAY be a BSON document or dictionary type. The driver MAY forego validating options and instead defer validation to the underlying implementation.
In Python some aspects of some options are validated by Python but some validation is deferred to libmongocrypt. This leads to unhelpful exceptions that give the user no information about what went wrong.
|