Hi there!
Report a Dgraph Bug
What version of Dgraph are you using?
Dgraph version : v20.11.0-gfbc4c2899
Have you tried reproducing the issue with the latest release?
yes
What is the hardware spec (RAM, OS)?
arch linux, 32GB Ram
Steps to reproduce the issue (command/config used to run Dgraph).
I want to use the apollo client in react with dgraph graphql. I am defining the following graphql operation:
query Users($postId: String) {
queryUsers{
id
name
posts(filter: { id: { eq: $postId } }) {
id
message
}
}
}
in the apollo client i set postId to null, I get:
Message: Dgraph query failed because Dgraph execution failed because : eq expects atleast 1 argument
However, if i use altair and do the following:
queryUsers{
id
name
posts(filter: { id: { eq: null } }) {
id
message
}
}
it works.
Thanks
marc