Module: GraphQL::BaseType::ModifiesAnotherType

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

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



83
84
85
# File 'lib/graphql/base_type.rb', line 83

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

#unwrapObject



79
80
81
# File 'lib/graphql/base_type.rb', line 79

def unwrap
  self.of_type.unwrap
end