GraphQ...:Output(3pm)
β¨ NAME β¨
okay so bestie, meet GraphQL::Role::Output β it's the GraphQL "output" object role π
it's giving very niche, very essential, we love her.
πΈ SYNOPSIS πΈ
here's the vibe, fr fr:
with qw(GraphQL::Role::Output);
# or runtime
Role::Tiny->apply_roles_to_object($foo, qw(GraphQL::Role::Output));
so like, you can pull the role in at compose-time with with⦠or if you're doing it live and chaotic at runtime, Role::Tiny->apply_roles_to_object($foo, qw(GraphQL::Role::Output)); does the thing 𫢠no cap, both routes are valid.
π¦ DESCRIPTION π¦
okay so the whole point of this icon: it allows type constraints for output objects β¨ that's it, that's the tea π she's a role, she does one job, and she ate π
this page is from the User Contributed Perl Documentation section, filed under GraphQ...:Output(3pm) π
and that's a wrap, babe β perl v5.34.0, dated 2022-03-27 π ty for coming to my ted talk, mwah π
π¦ 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