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

QueryRequestOption: Adds optimization to avoid duplicating QueryRequestOption #2166

Merged
merged 9 commits into from
Feb 1, 2021

Conversation

ashwinisingh01
Copy link
Contributor

Pull Request Template

Description

QueryRequestOption is cloned while executing the request. This limits the applications to extend QueryRequestOptions to populate extra headers

Type of change

Please delete options that are not relevant.

  • [] Bug fix (non-breaking change which fixes an issue)

Closing issues

To automatically close an issue: closes #IssueNumber

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Please follow the required format: "[Internal] Category: (Adds|Fixes|Refactors) Description"

Examples:
Diagnostics: Adds GetElapsedClientLatency to CosmosDiagnostics
PartitionKey: Fixes null reference when using default(PartitionKey)
[v4] Client Encryption: Refactors code to external project
[Internal] Query: Adds code generator for CosmosNumbers for easy additions in the future.

Copy link
Member

@kirankumarkolli kirankumarkolli left a comment

Choose a reason for hiding this comment

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

Implicit snap-shot behavioral contract's are fragile and won't stand long.
Lets please define the contracts/behaviors explicitly with right coverage.

@kirankumarkolli kirankumarkolli dismissed their stale review January 29, 2021 20:42

Removing waiting.

bchong95
bchong95 previously approved these changes Jan 29, 2021
@j82w j82w changed the title [Internal] Fix QueryRequestOption to remove clone QueryRequestOption: Adds optimization avoid duplicating QueryRequestOption Jan 29, 2021
@j82w j82w changed the title QueryRequestOption: Adds optimization avoid duplicating QueryRequestOption QueryRequestOption: Adds optimization to avoid duplicating QueryRequestOption Jan 29, 2021
Copy link
Contributor

@bchong95 bchong95 left a comment

Choose a reason for hiding this comment

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

Thanks for making the change !

@sboshra sboshra merged commit 1f24c36 into master Feb 1, 2021
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.

None yet

6 participants