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 ReadMany API support for encryption package. #2572

Merged
merged 9 commits into from
Jul 13, 2021

Conversation

kr-santosh
Copy link
Contributor

@kr-santosh kr-santosh commented Jun 22, 2021

Description

This PR adds ReadMany API support for encryption package.

Type of change

  • [] New feature (non-breaking change which adds functionality)
  • [] This change requires a documentation update

@kr-santosh kr-santosh marked this pull request as ready for review June 29, 2021 05:42
@kr-santosh kr-santosh changed the title Client Encryption: Adds ReadMany API support with encryption package. Client Encryption: Adds ReadMany API support for encryption package. Jun 29, 2021
@@ -889,6 +896,77 @@ internal sealed class EncryptionContainer : Container
cancellationToken: cancellationToken);
}

internal async Task<Stream> DeserializeAndDecryptResponseAsync(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

internal

private

Copy link
Contributor Author

@kr-santosh kr-santosh Jul 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is used by EncryptionFeedIterator... just moved the code above private methods..

}

foreach (JToken value in documents)
// only clone it on the first try.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e first try.

Don't repeat the code in the comment - provide the rationale.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated..

abhijitpai
abhijitpai previously approved these changes Jun 30, 2021
Copy link
Contributor

@abhijitpai abhijitpai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

abhijitpai
abhijitpai previously approved these changes Jul 12, 2021
@j82w j82w merged commit db5f2c9 into master Jul 13, 2021
@j82w j82w deleted the users/sakulk/readmanyitems branch July 13, 2021 14:40
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.

3 participants