-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
Use Case
As a nodejs driver user
I want to be able to execute methods as they described
So that I can rely on documentation & typescript types
``` * @example * ```ts * // rewrapping all data data keys (using a filter that matches all documents) * const filter = {}; * * const result = await clientEncryption.rewrapManyDataKey(filter); * if (result.bulkWriteResult != null) { * // keys were re-wrapped, results will be available in the bulkWrite object. * } * ```
but options marked as required in the interface:
```
async rewrapManyDataKey(
filter: Filter<DataKey>,
options: ClientEncryptionRewrapManyDataKeyProviderOptions
): Promise<\{ bulkWriteResult?: BulkWriteResult }> {
```
User Experience
- Autogenerated documentation and typescript types match
Dependencies
- None
Risks/Unknowns
- None
Acceptance Criteria
Implementation Requirements
- Mark options as optional
Testing Requirements
- TS test
Documentation Requirements
- N/A
Follow Up Requirements
- N/A