DOKK / manpages / debian 12 / libgraphql-perl / GraphQL::Type::NonNull.3pm.en
GraphQL::Type::NonNull(3pm) User Contributed Perl Documentation GraphQL::Type::NonNull(3pm)

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

  use GraphQL::Type::NonNull;
  my $type = GraphQL::Type::NonNull->new(of => $other_type);

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

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

BUILD

Moo method that applies the relevant roles.

Part of serialisation.

True if given Perl value is a valid value for this type.

The "name" of the type this object is a non-null version of.

2022-03-27 perl v5.34.0