Scroll to navigation

GraphQL::Role::Listable(3pm) User Contributed Perl Documentation GraphQL::Role::Listable(3pm)

NAME

GraphQL::Role::Listable - GraphQL object role

SYNOPSIS

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

DESCRIPTION

Provides shortcut method for getting a type object's list wrapper.

METHODS

list

Returns a wrapped version of the type using GraphQL::Type::List.

2022-03-27 perl v5.34.0