[CDRIVER-4015] Relax driver-side options validation checks on server options Created: 04/Jun/21  Updated: 10/Feb/23

Status: Backlog
Project: C Driver
Component/s: libmongoc
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Trivial - P5
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Improve Developer Experience

 Description   

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


Generated at Wed Feb 07 21:19:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.