collectVariableInQueryFieldMap function
Implementation
IMap<String, GraphQLType> collectVariableInQueryFieldMap(
GraphQLObjectType objectType,
) {
return IMap(_collectVariableInQueryFieldList(objectType).groupFoldBy(
(variable) => variable.name,
(a, bVariable) =>
a == null ? bVariable.type : intersectionType(a, bVariable.type)));
}