[CDRIVER-2409] bypassDocumentValidation is not a write command option Created: 27/Nov/17  Updated: 28/Oct/23  Resolved: 28/Nov/17

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

Type: Bug Priority: Minor - P4
Reporter: Jeremy Mikola Assignee: Jeremy Mikola
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-2408 Fix documentation for command_with_op... Closed
is related to CDRIVER-2227 "Commands with opts" tutorial Closed

 Description   

3085ff2 for CDRIVER-2227 added "bypassDocumentValidation" to the read-write-opts.txt and write-opts.txt includes, which are referenced from the various command_with_opts functions. "bypassDocumentValidation" is not actually supported by mongoc_cmd_parts_append_opts(), which performs the option processing for those functions. "bypassDocumentValidation" is only an option for CRUD (bulk write API), aggregate, and findAndModify functions.



 Comments   
Comment by Githook User [ 28/Nov/17 ]

Author:

{'name': 'Jeremy Mikola', 'username': 'jmikola', 'email': 'jmikola@gmail.com'}

Message: CDRIVER-2409 bypass not supported by command_with_opts
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/21ab5f24b08569b9715d8e780fbcd4bb496a66a4

Comment by Jeremy Mikola [ 27/Nov/17 ]

https://mongodbcr.appspot.com/171830001

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