GraphQL::Role::Nullable - GraphQL object role
with qw(GraphQL::Role::Nullable); # or runtime Role::Tiny->apply_roles_to_object($foo, qw(GraphQL::Role::Nullable));
Allows type constraints for nullable objects.
Returns a wrapped version of the type using GraphQL::Type::NonNull, i.e. that may not be null.
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.