Skip to content

Commit 62cdab5

Browse files
committed
Give up on being restrictive with visitor
1 parent bc940ba commit 62cdab5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/graphql/language/visitor.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ def on_node_with_modifications(node, parent)
147147
new_parent = new_parent && new_parent.delete_child(node)
148148
return nil, new_parent
149149
else
150-
# TODO: be less lax here
151150
# The user-provided hook didn't make any modifications.
152151
# In fact, the hook might have returned who-knows-what, so
153152
# ignore the return value and use the original values.

0 commit comments

Comments
 (0)