DOKK / manpages / debian 12 / libgraphql-perl / GraphQL::Role::FieldsEither.3pm.en
GraphQL::Role::FieldsEither(3pm) User Contributed Perl Documentation GraphQL::Role::FieldsEither(3pm)

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

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

Provides code useful to either type of fields.

2022-03-27 perl v5.34.0