Skip to content
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

Merged
merged 4 commits into from
Oct 28, 2020

Conversation

anujtoshniwal
Copy link
Contributor

@anujtoshniwal anujtoshniwal commented Oct 23, 2020

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

  • [] Breaking change (fix or feature that would cause existing functionality to not work as expected)

kr-santosh
kr-santosh previously approved these changes Oct 23, 2020
Copy link
Contributor

@kr-santosh kr-santosh left a 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.

@j82w j82w changed the title Client Encryption : Adds integration with latest Cosmos SDK 3.15.0-preview Client Encryption : Adds integration with Cosmos SDK 3.15.0-preview Oct 23, 2020
j82w
j82w previously approved these changes Oct 23, 2020
private readonly TransactionalBatchResponse response;
private bool isDisposed = false;

public EncryptionTransactionalBatchResponse(List<TransactionalBatchOperationResult> results, TransactionalBatchResponse response)
Copy link
Contributor

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.

Copy link
Contributor Author

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;
Copy link
Contributor

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

@anujtoshniwal anujtoshniwal dismissed stale reviews from j82w and kr-santosh via 526c631 October 23, 2020 18:36
@j82w j82w merged commit 7610323 into master Oct 28, 2020
@j82w j82w deleted the users/antoshni/integrateWithLatestSDK branch October 28, 2020 13:07
@ghost
Copy link

ghost commented Dec 15, 2021

Closing due to in-activity, pease feel free to re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants