Class: ArSerializer::GraphQL::ListTypeClass
Instance Attribute Summary
Attributes inherited from TypeClass
#type
Instance Method Summary
collapse
Methods inherited from TypeClass
#description, #fields, from, #initialize
Instance Method Details
#association_type ⇒ Object
375
|
# File 'lib/ar_serializer/graphql/types.rb', line 375
def association_type = type.association_type
|
#collect_types(types) ⇒ Object
371
372
373
|
# File 'lib/ar_serializer/graphql/types.rb', line 371
def collect_types(types)
type.collect_types types
end
|
#gql_type ⇒ Object
377
|
# File 'lib/ar_serializer/graphql/types.rb', line 377
def gql_type = "[#{type.gql_type}]"
|
#kind ⇒ Object
365
|
# File 'lib/ar_serializer/graphql/types.rb', line 365
def kind = 'LIST'
|
#name ⇒ Object
367
|
# File 'lib/ar_serializer/graphql/types.rb', line 367
def name = 'LIST'
|
#of_type ⇒ Object
369
|
# File 'lib/ar_serializer/graphql/types.rb', line 369
def of_type = type
|
#ts_type ⇒ Object
379
|
# File 'lib/ar_serializer/graphql/types.rb', line 379
def ts_type = "(#{type.ts_type} [])"
|