GraphQ...istable(3pm)
πΈ NAME πΈ
GraphQL::Role::Listable β it's giving GraphQL object role, bestie π
β¨ SYNOPSIS β¨
okay so you just pull it in like this:
with qw(GraphQL::Role::Listable);
# or runtime
Role::Tiny->apply_roles_to_object($foo, qw(GraphQL::Role::Listable));
yes you can do it at runtime too, Role::Tiny has you covered, no cap π«Ά
π DESCRIPTION π
So basically this role is your little shortcut bestie: it hands you a method for grabbing a type object's list wrapper without you having to go hunt for it yourself. That's it. That's the whole vibe. β¨
π METHODS π
list
list returns a wrapped version of the type using GraphQL::Type::List. that's the entire thing, she's simple, she's iconic, she slays π₯
and that's the whole page, babes π this lil masterpiece comes to you from perl v5.34.0, dated 2022-03-27 β documented as user-contributed perl documentation. go forth and wrap your types ππ¦
π¦ 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