validate

fun GQLOperationDefinition.validate(    schema: Schema,     fragments: Map<String, GQLFragmentDefinition>,     fieldsOnDisjointTypesMustMerge: Boolean = true): List<Issue>