Example #1
0
def no_scalar_subselection(field, type, line, column):
    return {
        "message": ScalarLeafs.no_subselection_allowed_message(field, type),
        "locations": [SourceLocation(line, column)],
    }
Example #2
0
def missing_obj_subselection(field, type, line, column):
    return {
        "message": ScalarLeafs.required_subselection_message(field, type),
        "locations": [SourceLocation(line, column)],
    }
Example #3
0
def no_scalar_subselection(field, type, line, column):
    return {
        'message': ScalarLeafs.no_subselection_allowed_message(field, type),
        'locations': [SourceLocation(line, column)]
    }
Example #4
0
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)]
    }