GraphQ...bstract(3pm)

πŸ“¦
version 0.54 Β· 2 versions
  • 0.54 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.53 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

GraphQL::Role::Abstract β€” it's a GraphQL object role, bestie πŸ’… and yes that's literally the whole personality

This one lives in the User Contributed Perl Documentation manual, section 3pm, so you already know it's the people's manpage 🫢


🌸 SYNOPSIS 🌸

okay so here's the vibe, copy it exactly bestie:

with qw(GraphQL::Role::Abstract);

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

so you can pull it in at compile time with a cute little with qw(...), or do the whole thing at runtime by handing your object and the role name over to Role::Tiny->apply_roles_to_object. your call, both are valid, both ate πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

Allows type constraints for abstract objects. That's it, that's the tea πŸ“

no cap, it's a tiny role that lets you have type constraints on abstract objects. iconic behaviour honestly, short and sweet, the way a good role should be πŸ‘‘


k byeee, this page was served up by perl v5.34.0 and it was dated 2022-03-27 β€” mwah, take care of her πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from