![]() |
![]()
| ![]() |
![]()
NAMEGraphQL::Type::List - GraphQL type that is a list of another type SYNOPSISuse GraphQL::Type::List; my $type = GraphQL::Type::List->new(of => $other_type); DESCRIPTIONType that is a wrapper for the type it is a list of. If the wrapped type has any of these roles, it will assume them: GraphQL::Role::Input, GraphQL::Role::Output. It is always GraphQL::Role::Nullable. ATTRIBUTESofGraphQL type object of which this is a list. METHODSBUILDMoo method that applies the relevant roles. to_stringPart of serialisation. is_validTrue if given Perl array-ref is a valid value for this type. upliftTurn given Perl entity into valid value for this type if possible. Mainly to promote single value into a list if type dictates. nameThe "name" of the type this object is a list of.
|