GraphQL::Type::NonNull3pm
Graphql type that is a non-null version of another type
Usage
use GraphQL::Type::NonNull;my $type = GraphQL::Type::NonNull->new(of => $other_type);
Overview
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.
Releases
Unchanged in 2 releases since Debian 12 (Bookworm).