GraphQL::Type::List - GraphQL type that is a list of another type
use GraphQL::Type::List; my $type = GraphQL::Type::List->new(of => $other_type);
Type 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, GraphQL::Role::Nullable.
GraphQL type object of which this is a list.
Moo method that applies the relevant roles.
Part of serialisation.
True if given Perl array-ref is a valid value for this type.
Turn given Perl entity into valid value for this type if possible. Mainly to promote single value into a list if type dictates.
To install GraphQL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GraphQL
CPAN shell
perl -MCPAN -e shell install GraphQL
For more information on module installation, please visit the detailed CPAN module installation guide.