-
Notifications
You must be signed in to change notification settings - Fork 1.8k
docs(NODE-6458): document CSOT for explicit encryption #4302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* ``` | ||
* | ||
* If `timeoutMS` is configured on the provided client, the client's timeoutMS value | ||
* will be used unless `timeoutMS` is also provided as a separate option. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* will be used unless `timeoutMS` is also provided as a separate option. | |
* will be used unless `ClientEncryptionOptions.timeoutMS` is also provided as a separate option. |
This is a bit clearer to me considering we're using timeoutMS
to refer to both ClientEncryptionOptions.timeoutMS
and MongoClient.options.timeoutMS
* ```typescript | ||
* const client = new MongoClient('<uri>', { timeoutMS: 2_000 }); | ||
* | ||
* // timeoutMS is set to 1_000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* // timeoutMS is set to 1_000 | |
* // clientEncryptionOptions.timeoutMS overrides the client's timeoutMS and 1_000 is used as the timeoutMS for the ClientEncryption object |
* await clientEncryption.createDataKey('local'); | ||
* ``` | ||
* | ||
* If `timeoutMS` is configured on the provided client, the client's timeoutMS value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``
* If `timeoutMS` is configured on the provided client, the client's timeoutMS value | |
* If `timeoutMS` is configured on the provided client, the client's `timeoutMS` value |
bcbc1de
to
4540cfc
Compare
Description
What is changing?
Is there new documentation needed for these changes?
What is the motivation for this change?
Release Highlight
Fill in title or leave empty for no highlight
Double check the following
npm run check:lint
scripttype(NODE-xxxx)[!]: description
feat(NODE-1234)!: rewriting everything in coffeescript