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

LINQ : Fixes ArgumentNullException while calling ToQueryDefinition() #2580

Merged
merged 5 commits into from
Jun 30, 2021

Conversation

sourabh1007
Copy link
Contributor

@sourabh1007 sourabh1007 commented Jun 29, 2021

Description

This fixes ArguementNullException in ToQueryDefinition for read feed scenarios where there has been no filters applied to the linq query.

Type of change

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

Closing issues

To automatically close an issue: closes #1438

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|Removes) Description"

Internal should be used for PRs that have no customer impact. This flag is used to help generate the changelog to know which PRs should be included. 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.

@sourabh1007 sourabh1007 changed the title ToQueryDefinition() throws ArgumentNullException on LINQ LINQ : Fixes ArgumentNullException while calling ToQueryDefinition() Jun 29, 2021
@github-actions github-actions bot dismissed their stale review June 29, 2021 12:31

All good!

@sourabh1007 sourabh1007 force-pushed the users/sourabhjain/toQueryDefinitionBug branch from aea06fc to 31e832e Compare June 29, 2021 18:20
@sourabh1007 sourabh1007 force-pushed the users/sourabhjain/toQueryDefinitionBug branch 2 times, most recently from dd06805 to 98b3534 Compare June 29, 2021 19:29
@sourabh1007 sourabh1007 force-pushed the users/sourabhjain/toQueryDefinitionBug branch from 98b3534 to 708d4b0 Compare June 29, 2021 20:50
@sourabh1007 sourabh1007 force-pushed the users/sourabhjain/toQueryDefinitionBug branch from 708d4b0 to 1f75a48 Compare June 29, 2021 20:55
j82w
j82w previously approved these changes Jun 29, 2021
@j82w j82w merged commit 238e23a into master Jun 30, 2021
@j82w j82w deleted the users/sourabhjain/toQueryDefinitionBug branch June 30, 2021 21:26
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.

ToQueryDefinition() throws ArgumentNullException on LINQ query without Where clause
3 participants