Skip to content

Commit 47c0530

Browse files
author
Sam Cooke
committed
Proposed fix
Related GraphQL-js commit: graphql/graphql-js@f79ba42
1 parent 83295d8 commit 47c0530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql/core/language/visitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def visit(root, visitor, key_map=None):
153153
break
154154

155155
if edits:
156-
new_root = edits[0][1]
156+
new_root = edits[-1][1]
157157

158158
return new_root
159159

0 commit comments

Comments
 (0)