We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f69d87 commit 90bbb3bCopy full SHA for 90bbb3b
lib/graphql/internal_representation/print.rb
@@ -26,7 +26,9 @@ def print_node(node, indent: 0)
26
query_str << "#{padding}#{node.name}: #{node.definition_name}"
27
end
28
29
- args = node.ast_nodes.map { |n| n.arguments.map(&:to_query_string).join(",") }.uniq
+ args = node.ast_nodes.map { |n| n.arguments.map(&:to_query_string).join(",") }
30
+ .reject { |a| a == "" }
31
+ .uniq
32
query_str << args.map { |a| "(#{a})"}.join("|")
33
34
0 commit comments