The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

NAME

GraphQL::Role::Leaf - GraphQL "leaf" object role

SYNOPSIS

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

DESCRIPTION

Allows type constraints for leaf objects.