Module: GraphQL::BaseType::ModifiesAnotherType

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

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object


106
107
108
# File 'lib/graphql/base_type.rb', line 106

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

#unwrapObject


102
103
104
# File 'lib/graphql/base_type.rb', line 102

def unwrap
  self.of_type.unwrap
end