Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-3579

Allow drivers to set bypassDocumentValidation: false on write commands

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • 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.

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

            Assignee:
            Unassigned Unassigned
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: