NAME

GraphQL::Role::FieldsOutput - GraphQL object role implementing output fields

SYNOPSIS

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

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

DESCRIPTION

Implements output fields.

ATTRIBUTES

fields

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