Skip to content

GraphQL Filter error filter is Uknown #2281

Closed
@mafiqqq

Description

@mafiqqq

I've been trying to query something with filter, but I'm keep getting the error

"Unknown argument \"filter\" on field \"Claim\" of type \"Query\"."

But all the tutorials I've tried just write the query like that..

query {
  Claim(filter: { score_gt: 1500 }){
    claimID
  }
}

But when I tried similar query on this sandbox https://codesandbox.io/embed/r047mmrnln it works well.
I can filter things in my 'Movie'.
I've checked the schema, which are similar .
What is the problem here?

React.js , Apollo Client and Neo4j . Thank you in advance !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions