class ArSerializer::GraphQL::ListTypeClass
Public Instance Methods
association_type()
click to toggle source
# File lib/ar_serializer/graphql/types.rb, line 434 def association_type of_type.association_type end
collect_types(types)
click to toggle source
# File lib/ar_serializer/graphql/types.rb, line 430 def collect_types(types) of_type.collect_types types end
gql_type()
click to toggle source
# File lib/ar_serializer/graphql/types.rb, line 438 def gql_type "[#{of_type.gql_type}]" end
kind()
click to toggle source
# File lib/ar_serializer/graphql/types.rb, line 418 def kind 'LIST' end
name()
click to toggle source
# File lib/ar_serializer/graphql/types.rb, line 422 def name 'LIST' end
of_type()
click to toggle source
# File lib/ar_serializer/graphql/types.rb, line 426 def of_type TypeClass.from type, only, except end
sample()
click to toggle source
# File lib/ar_serializer/graphql/types.rb, line 442 def sample [] end
ts_type()
click to toggle source
# File lib/ar_serializer/graphql/types.rb, line 446 def ts_type "(#{of_type.ts_type} [])" end