Method: GraphQL::Schema::Member::TypeSystemHelpers#to_list_type

Defined in:
lib/graphql/schema/member/type_system_helpers.rb

#to_list_typeSchema::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.

Returns:

  • (Schema::List)

    Make a list-type representation of this type



19
20
21
# File 'lib/graphql/schema/member/type_system_helpers.rb', line 19

def to_list_type
  @to_list_type ||= GraphQL::Schema::List.new(self)
end