Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4933

Allow drivers to set bypassDocumentValidation: false on write commands

    • Type: Icon: Spec Change Spec Change
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: CRUD
    • Hide

      DRIVERS-2865:
      Summary of necessary driver changes

      •  Drivers will need to change handling of the bypassDocumentValidation to all write commands (insert, update, findAndModify, aggregate with $out or $merge, as well as bulk writes. Note that the new client bulk write API does not need changing.

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      Context for other referenced/linked tickets

      •  The original change to only send the flag if it was specified with a true value was made in DRIVERS-450. This change brings handling of this option in line with all other options.
      Show
      DRIVERS-2865 : Summary of necessary driver changes  Drivers will need to change handling of the bypassDocumentValidation to all write commands ( insert , update , findAndModify , aggregate with $out or $merge , as well as bulk writes. Note that the new client bulk write API does not need changing. Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)  A new test file testing the affected behaviour was added to the CRUD spec in commit b1b5a7f4209ba4a0fd3dca31a7b34378ac5ce6c1 . Context for other referenced/linked tickets  The original change to only send the flag if it was specified with a true value was made in DRIVERS-450 . This change brings handling of this option in line with all other options.
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket was split from DRIVERS-2865, please see that ticket for a detailed description.

            Assignee:
            noah.stapp@mongodb.com Noah Stapp
            Reporter:
            dbeng-pm-bot TPM Jira Automations Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None