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

fix(GraphQL): This PR fix panic error when we give null value in filter connectives. (#6707) #6729

Merged
merged 1 commit into from
Nov 3, 2020

Conversation

JatinDev543
Copy link
Contributor

@JatinDev543 JatinDev543 commented Oct 14, 2020

This PR fix panic error when we give null value in filter connectives. Null values corresponding to connective are skipped now.
For example in the below filter, not connective gets skipped.


 filter:{
      id:{eq:"123"},
      not:null
    },

(cherry picked from commit 345b6d1)


This change is Reviewable

Docs Preview: Dgraph Preview

…er connectives. (#6707)

Fixes GRAPHQL-744

This PR fix panic error when we give null value in filter connectives. Null values corresponding to connective are skipped now.
For example in the below filter, not connective gets skipped.

```

 filter:{
      id:{eq:"123"},
      not:null
    },

```

(cherry picked from commit 345b6d1)
@github-actions github-actions bot added the area/graphql Issues related to GraphQL support on Dgraph. label Oct 14, 2020
@pawanrawal pawanrawal merged commit d295369 into release/v20.07 Nov 3, 2020
@pawanrawal pawanrawal deleted the jatin/CherryPickNullFilter branch November 3, 2020 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/graphql Issues related to GraphQL support on Dgraph.
Development

Successfully merging this pull request may close these issues.

2 participants