Module: GraphQL::BaseType::ModifiesAnotherType

Included in:
ListType, NonNullType
Defined in:
lib/graphql/base_type.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



90
91
92
# File 'lib/graphql/base_type.rb', line 90

def ==(other)
  other.is_a?(ModifiesAnotherType) && other.of_type == of_type
end

#unwrapObject



86
87
88
# File 'lib/graphql/base_type.rb', line 86

def unwrap
  self.of_type.unwrap
end