Currently gql will locally validate the GraphQL request to see if it correspond to the GraphQL schema if it is present. It does not validate variable values though. It's something we could do.