This should be fixed via chore: adding order to the validation rules by aman-bansal · Pull Request #17 · dgraph-io/gqlparser · GitHub</t and fix: add validation of null values with correct order of graphql rule validation by aman-bansal · Pull Request #8.
It will be available in the next public release.