Module: GraphQL::Schema::Member::TypeSystemHelpers Private
- Included in:
 - Interface::DefinitionMethods, GraphQL::Schema::Member, Wrapper
 
- Defined in:
 - lib/graphql/schema/member/type_system_helpers.rb
 
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- 
  
    
      #kind  ⇒ GraphQL::TypeKinds::TypeKind 
    
    
  
  
  
  
  
  
  
  private
  
    
 - 
  
    
      #list?  ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  private
  
    
True if this is a list type.
 - 
  
    
      #non_null?  ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  private
  
    
True if this is a non-nullable type.
 - 
  
    
      #to_list_type  ⇒ Schema::List 
    
    
  
  
  
  
  
  
  
  private
  
    
Make a list-type representation of this type.
 - 
  
    
      #to_non_null_type  ⇒ Schema::NonNull 
    
    
  
  
  
  
  
  
  
  private
  
    
Make a non-null-type representation of this type.
 - 
  
    
      #to_type_signature  ⇒ Object 
    
    
  
  
  
  
  
  
  
  private
  
    
 
Instance Method Details
#kind ⇒ GraphQL::TypeKinds::TypeKind
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
      32 33 34  | 
    
      # File 'lib/graphql/schema/member/type_system_helpers.rb', line 32 def kind raise GraphQL::RequiredImplementationMissingError end  | 
  
#list? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns true if this is a list type. A non-nullable list is considered a list.
      23 24 25  | 
    
      # File 'lib/graphql/schema/member/type_system_helpers.rb', line 23 def list? false end  | 
  
#non_null? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns true if this is a non-nullable type. A nullable list of non-nullables is considered nullable.
      18 19 20  | 
    
      # File 'lib/graphql/schema/member/type_system_helpers.rb', line 18 def non_null? false end  | 
  
#to_list_type ⇒ Schema::List
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns Make a list-type representation of this type.
      13 14 15  | 
    
      # File 'lib/graphql/schema/member/type_system_helpers.rb', line 13 def to_list_type @to_list_type ||= GraphQL::Schema::List.new(self) end  | 
  
#to_non_null_type ⇒ Schema::NonNull
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns Make a non-null-type representation of this type.
      8 9 10  | 
    
      # File 'lib/graphql/schema/member/type_system_helpers.rb', line 8 def to_non_null_type @to_non_null_type ||= GraphQL::Schema::NonNull.new(self) end  | 
  
#to_type_signature ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
      27 28 29  | 
    
      # File 'lib/graphql/schema/member/type_system_helpers.rb', line 27 def to_type_signature graphql_name end  |