|
Scope Remove unnecessary driver-side validation on options passed via bson_t in functions like mongoc_database_create_collection.
Motivation Driver-side validation checks on bson_t options that are validated server-side do not provide value to users. Relying on the server to error in these cases helps with forward compatibility.
Example mongoc_database_create_collection validates a subset of options that are supported on the create command. If future versions of the server support additional types on those values, it will require a driver change. The validation does not help users. Without the validation, they will still be informed of a wrong type from a server-side error.
Notes
|