NAME
GraphQL::Type::NonNull - GraphQL type that is a non-null version of another type
SYNOPSIS
use GraphQL::Type::NonNull;
my $type = GraphQL::Type::NonNull->new(of => $other_type);
DESCRIPTION
Type that is a wrapper for another type. Means data cannot be a null value.
ATTRIBUTES
of
GraphQL type object of which this is a non-null version.
METHODS
BUILD
Moo method that applies the relevant roles.
to_string
Part of serialisation.
is_valid
True if given Perl value is a valid value for this type.
name
The name
of the type this object is a non-null version of.