[CDRIVER-3731] Add a way for BSON validation to be configured at a wider scope Created: 01/Jul/20  Updated: 10/Feb/23

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

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

Issue Links:
Related
Epic Link: Improve Developer Experience

 Description   

Currently, many functions accept a way to configure bson validation by the bson_validate_flags_t: http://mongoc.org/libbson/current/bson_validate_with_error.html

It would be convenient to set this as a client/database/collection option for applications that expect fields to not pass validation.

Additionally, not all functions accept the validation option (e.g. the superseded mongoc_bulk_operation_insert and mongoc_collection_insert functions).


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