logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

GraphQL::Type::NonNull - GraphQL type that is a non-null version of another type

Attributes

of
       GraphQL type object of which this is a non-null version.

Description

       Type that is a wrapper for another type. Means data cannot be a null value.

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.

perl v5.34.0                                       2022-03-27                        GraphQL::Type::NonNull(3pm)

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);

See Also