Skip to content

Commit

Permalink
Use a Hash for the no-typed-children value
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Mosolgo authored Feb 13, 2018
1 parent bb6138b commit 682bce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/graphql/internal_representation/node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Node
# Behaves like a Hash, but doesn't copy itself.
# @api private
class NoTypedChildren
CHILDREN = [].freeze
CHILDREN = {}.freeze
def dup; self; end
def any?; false; end
def none?; true; end
Expand Down

0 comments on commit 682bce8

Please sign in to comment.