added variable support in validation hooks
Merge pull request #12 from dgraph-io/jatin/GRAPHQL-1007 Fixes: GRAPHQL-1007 We have allowed to paas @cascade arguments through variables in dgraph. For that we needed input validations check which is added in this library.