Skip to content

Commit 32085d3

Browse files
authored
Minor correction to a get_field_annotations call
1 parent 515e20e commit 32085d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql-api-generator/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ def add_mutation_update_edge_objects(schema: GraphQLSchema):
874874
if field_name.startswith('_') or is_enum_or_scalar(inner_field_type):
875875
continue
876876
for t in connected_types:
877-
annotations = get_field_annotations(field)
877+
annotations, _ = get_field_annotations(field)
878878
if len(annotations) > 0:
879879
edge_from = f'{capitalize(field_name)}EdgeFrom{t.name}'
880880
update = f'update{edge_from}'

0 commit comments

Comments
 (0)