Named queries without variables don't parse #3994
Labels
area/parsing
Issues related to the parser or lexer.
area/querylang/vars
Issues related to queries with GraphQL variables
kind/bug
Something is broken.
priority/P2
Somehow important but would not block a release.
status/accepted
We accept to investigate/work on it.
Milestone
What version of Dgraph are you using?
v1.1.0
Have you tried reproducing the issue with the latest release?
yes
What is the hardware spec (RAM, OS)?
playground
Steps to reproduce the issue (command/config used to run Dgraph).
Running this query works:
But if you realize that the query doesn't use the variable and you decide to remove it:
You get the error:
Expected behaviour and actual result.
It should just parse it correctly
The text was updated successfully, but these errors were encountered: