-
Notifications
You must be signed in to change notification settings - Fork 494
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
Client Encryption : Adds integration with Cosmos SDK 3.15.0-preview #1956
Conversation
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.
Looks good to me.
Microsoft.Azure.Cosmos.Encryption/src/EncryptionTransactionalBatchResponse.cs
Outdated
Show resolved
Hide resolved
private readonly TransactionalBatchResponse response; | ||
private bool isDisposed = false; | ||
|
||
public EncryptionTransactionalBatchResponse(List<TransactionalBatchOperationResult> results, TransactionalBatchResponse response) |
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.
Take IReadOnlyList and make a copy so that this class doesn't carry state from it's caller.
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.
Sure
{ | ||
private readonly List<TransactionalBatchOperationResult> results; | ||
private readonly TransactionalBatchResponse response; | ||
private bool isDisposed = false; |
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.
no need to set to default of T
Closing due to in-activity, pease feel free to re-open. |
Pull Request Template
Description
Integration with latest Cosmos SDK 3.15.0-preview from Encryption package. Internals dependency is removed in the latest SDK, as a result have had to mirror some code.
Type of change