We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 005864f commit 7e15581Copy full SHA for 7e15581
1 file changed
lib/graphql/internal_representation/node.rb
@@ -6,7 +6,7 @@ class Node
6
DEFAULT_TYPED_CHILDREN = Proc.new { |h, k| h[k] = {} }
7
8
# A specialized, reusable object for leaf nodes.
9
- NO_TYPED_CHILDREN = Hash.new([].freeze)
+ NO_TYPED_CHILDREN = Hash.new({}.freeze)
10
def NO_TYPED_CHILDREN.dup; self; end;
11
NO_TYPED_CHILDREN.freeze
12
0 commit comments