Scroll to navigation

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

NAME

GraphQL::Role::Named - GraphQL "named" object role

SYNOPSIS

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

DESCRIPTION

Allows type constraints for named objects, providing also "name" and "description" attributes.

ATTRIBUTES

name

description

Optional description.

METHODS

to_string

Part of serialisation.

2022-03-27 perl v5.34.0