View on
MetaCPAN
Ed J > GraphQL-0.13 > GraphQL::Role::Nullable

Download:
GraphQL-0.13.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source   Latest Release: GraphQL-0.24

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

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.

syntax highlighting: