Extended validation plugin adds support for writing GraphQL validation rules, that has access to all `execute` parameters, including variables.
github.com/graphql-hive/envelop
graphql-hive/envelop