def no_scalar_subselection(field, type, line, column): return { "message": ScalarLeafs.no_subselection_allowed_message(field, type), "locations": [SourceLocation(line, column)], }
def missing_obj_subselection(field, type, line, column): return { "message": ScalarLeafs.required_subselection_message(field, type), "locations": [SourceLocation(line, column)], }
def no_scalar_subselection(field, type, line, column): return { 'message': ScalarLeafs.no_subselection_allowed_message(field, type), 'locations': [SourceLocation(line, column)] }
def missing_obj_subselection(field, type, line, column): return { 'message': ScalarLeafs.required_subselection_message(field, type), 'locations': [SourceLocation(line, column)] }