Module: GraphQL::BaseType::ModifiesAnotherType

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

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



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

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

#unwrapObject



96
97
98
# File 'lib/graphql/base_type.rb', line 96

def unwrap
  self.of_type.unwrap
end