Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2865

Allow drivers to set bypassDocumentValidation: false on write commands

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: CRUD
    • Labels:
      None
    • Needed
    • Hide

      Summary of necessary driver changes

      •  

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

      •  

      Context for other referenced/linked tickets

      •  
      Show
      Summary of necessary driver changes   Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)   Context for other referenced/linked tickets  

      DRIVERS-450 introduced a requirement that drivers only send a value for bypassDocumentValidation if it is set to true. This is out of line with most other CRUD options, which have the following guidance: "This option is sent only if the caller explicitly provides a value."

      Checking values that users set and omitting them if they match server defaults creates additional work for drivers. We should relax this requirement and send any value that a user explicitly specifies.

            Assignee:
            Unassigned Unassigned
            Reporter:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: