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