class GraphQL::Schema::Wrapper
Attributes
Returns
-
Class, Module— The inner type of this wrapping type, the type of which one or more objects may be present.
Public Class Methods
Source
# File lib/graphql/schema/wrapper.rb, line 14 def initialize(of_type) @of_type = of_type end
Public Instance Methods
Source
# File lib/graphql/schema/wrapper.rb, line 28 def ==(other) self.class == other.class && of_type == other.of_type end
Source
# File lib/graphql/schema/wrapper.rb, line 32 def deconstruct_keys(_keys) { of_type: of_type } end
Source
# File lib/graphql/schema/wrapper.rb, line 22 def freeze unwrap to_type_signature super end
Calls superclass method
Source
# File lib/graphql/schema/wrapper.rb, line 18 def unwrap @unwrapped ||= @of_type.unwrap end