Method: GraphQL::BaseType#to_list_type

Defined in:
lib/graphql/base_type.rb

#to_list_typeGraphQL::ListType

Returns a list version of this type.

Returns:



77
78
79
# File 'lib/graphql/base_type.rb', line 77

def to_list_type
  GraphQL::ListType.new(of_type: self)
end