Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6300

Make expressionMode required in C++

    • 2
    • Not Needed
    • Not Needed
    • 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?

      Use Case

      MakeExplicitEncryptionContext takes an option, expressionMode, that controls whether an expression context or regular context is instantiated. This option is always provided by the driver, is required by TS but in C++ we coerce the option to boolean instead.

      We should make the option required in C++.

      User Impact

      None.

      Dependencies

      None.

      Unknowns

      None.

      Acceptance Criteria

      Implementation Requirements

      • Throw an error in MakeExplicitEncryptionContext if expressionMode is not provided.

      Testing Requirements

      • Demonstrate that an error is thrown when constructing an explicit encryption context without expressionMode.

      Documentation Requirements

      None.

      Follow Up Requirements

      None.

            Assignee:
            bailey.pearson@mongodb.com Bailey Pearson
            Reporter:
            bailey.pearson@mongodb.com Bailey Pearson
            Warren James
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: