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::Role::Nullable - GraphQL object role

Description

       Allows type constraints for nullable objects.

Methods

non_null
       Returns a wrapped version of the type using GraphQL::Type::NonNull, i.e. that may not be null.

perl v5.34.0                                       2022-03-27                       GraphQL::Role::Nullable(3pm)

Name

       GraphQL::Role::Nullable - GraphQL object role

Synopsis

         with qw(GraphQL::Role::Nullable);

         # or runtime
         Role::Tiny->apply_roles_to_object($foo, qw(GraphQL::Role::Nullable));

See Also