lib/graphql/language/nodes.rb in graphql-1.1.0 vs lib/graphql/language/nodes.rb in graphql-1.2.0
- old
+ new
@@ -177,9 +177,12 @@
end
# An enum value. The string is available as {#name}.
class Enum < NameOnlyNode; end
+ # A null value literal.
+ class NullValue < NameOnlyNode; end
+
# A single selection in a GraphQL query.
class Field < AbstractNode
attr_accessor :name, :alias, :arguments, :directives, :selections
scalar_attributes :name, :alias
child_attributes :arguments, :directives, :selections