Scroll to navigation

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

NAME

GraphQL::Role::FieldsInput - GraphQL object role implementing input fields

SYNOPSIS

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

DESCRIPTION

Implements input fields.

ATTRIBUTES

fields

Thunk of hash-ref mapping fields to their types. See "FieldMapInput" in GraphQL::Type::Library.

2022-03-27 perl v5.34.0