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

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

GraphQL object role with code common to all fields

## NAME

GraphQL::Role::FieldsEither - GraphQL object role with code common to all fields

## SYNOPSIS

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

## DESCRIPTION

Provides code useful to either type of fields.
