I get the error:
graphQl error : Field "exists" is not defined by type FilterFindManyComplaintUserOperatorsInput.
It is very hard for me to google this issue as the error message is specific to my case, there's no generic message coming from the graphql-compose-mongoose lib that I could google. So I've read the docs and can't help further
Here's my connection and findMany resolver definition:
Hello,
I'm trying to use the _operators feature for filtering, but I can't get it to work: This is my package.json section:
My query looks like this:
trendingComplaintConnection:complaintConnection(after:$after, filter: { viewer: "TRENDING", kind: $kind, category: $categoryName, _operators: {user: {exists: true}} }, first: 6, sort:POPULARITY_DESC) {/*...*/}
I get the error:
graphQl error : Field "exists" is not defined by type FilterFindManyComplaintUserOperatorsInput.
It is very hard for me to google this issue as the error message is specific to my case, there's no generic message coming from the graphql-compose-mongoose lib that I could google. So I've read the docs and can't help further
Here's my connection and findMany resolver definition:
Finally, my mongoose object has nothing special