validateRequest function
Validates an operation
in the context of schema
Assumes valid schema
Implementation
List<ValidationError> validateRequest(
ast.DocumentNode schema,
ast.DocumentNode operation,
) {
final validator = _Validator(
rules: {},
);
return validator.validate(
node: operation,
);
}