Module: GraphQL::BaseType::ModifiesAnotherType

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

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



104
105
106
# File 'lib/graphql/base_type.rb', line 104

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

#unwrapObject



100
101
102
# File 'lib/graphql/base_type.rb', line 100

def unwrap
  self.of_type.unwrap
end