---
name: "GraphQL::Role::Leaf"
section: "3pm"
platform: "linux"
package: "libgraphql-perl"
version: "0.54-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/GraphQL::Role::Leaf"
---

# GraphQL::Role::Leaf(3pm)

GraphQL "leaf" object role

## NAME

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

## SYNOPSIS

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

## DESCRIPTION

Allows type constraints for leaf objects.
