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

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

GraphQL "named" object role

## 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.
