View on
MetaCPAN
Ed J > GraphQL-0.13 > GraphQL::Type::NonNull

Download:
GraphQL-0.13.tar.gz

Dependencies

Annotate this POD

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

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.

syntax highlighting: