Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2409

bypassDocumentValidation is not a write command option

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.9.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None

      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.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: