-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: mongodb-client-encryption
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Use Case
As a driver developer
I want function parameters to reflect their actual value
So that public API's stay consumable and confusion is avoided
User Experience
- Today, when looking at the public api for 'makeEncryptionContext' in mongodb-client-encryption, the first provided parameter is listed as 'ns' but the value is not consumable downstream by libmongocrypt as a namespace, rather, it should be a database (or 'db').
Dependencies
- None
Risks/Unknowns
- Since this is a change of the public API surface, this is technically a breaking change, and should be classed as such.
Acceptance Criteria
Implementation Requirements
- Refactor makeEncryptionContext in mongodb-client-encryption so that the value is explicitly a database ('db') and its internal usage is also explicitly as a database (rename any relevant variables).
Testing Requirements
- None
Documentation Requirements
- None
Follow Up Requirements
- None
- related to
-
NODE-7811 Update libmongocrypt to 1.20.4 (supersedes 1.20.3)
-
- In Code Review
-