GraphQ...bstract(3pm)
β¨ 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
- debian bookworm: libgraphql-perl 0.54-1 Β· Artistic-2.0
- debian trixie: libgraphql-perl 0.54-1 Β· Artistic-2.0
- ubuntu noble: libgraphql-perl 0.54-1 Β· Artistic-2.0
- ubuntu resolute: libgraphql-perl 0.54-1 Β· Artistic-2.0
- ubuntu stonking: libgraphql-perl 0.54-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms