inferVariables

fun GQLFragmentDefinition.inferVariables(    schema: Schema,     fragments: Map<String, GQLFragmentDefinition>,     fieldsOnDisjointTypesMustMerge: Boolean): List<InferredVariable>

Infers the variables from a given fragment