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): Added error for case when multiple filter functions are used in filter. (#7368) #7384

Merged
merged 2 commits into from
Feb 2, 2021

Conversation

JatinDev543
Copy link
Contributor

@JatinDev543 JatinDev543 commented Feb 2, 2021

we were having indeterministic behavior in the filter when we have multiple filter functions as below .

query {
  queryFoo(filter:{value:{eq:2 le:2}})
     {
      value
    }
  }

It was because we were selecting the first filter function from the list of functions whose order is not guaranteed.
Now we are returning an error for this.

(cherry picked from commit de2f4ab)


This change is Reviewable

… used in filter. (#7368)

we were having indeterministic behavior in the filter when we have multiple filter functions as below .

query {
  queryFoo(filter:{value:{eq:2 le:2}})
     {
      value
    }
  }

It was because we were selecting the first filter function from the list of functions whose order is not guaranteed.
Now we are returning an error for this.

(cherry picked from commit de2f4ab)
@github-actions github-actions bot added the area/graphql Issues related to GraphQL support on Dgraph. label Feb 2, 2021
@JatinDev543 JatinDev543 merged commit 793031a into release/v20.11 Feb 2, 2021
@JatinDev543 JatinDev543 deleted the jatin/cherryPick-GRAPHQL-954 branch February 2, 2021 12:24
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