GraphQ...sOutput(3pm)
β¨ NAME β¨
GraphQL::Role::FieldsOutput β bestie, it's a GraphQL object role that implements output fields π
πΈ SYNOPSIS πΈ
okay so you just pull the role in at compile time like this:
with qw(GraphQL::Role::FieldsOutput);
or, if you're feeling chaotic and want to do it at runtime, you can do:
# or runtime
Role::Tiny->apply_roles_to_object($foo, qw(GraphQL::Role::FieldsOutput));
both are valid, both slay, pick your fighter π«Ά
π DESCRIPTION π
It implements output fields. That's it, that's the whole vibe. Short, sweet, iconic. β¨
π ATTRIBUTES π
β fields
A thunk of a hash-ref that maps fields to their types. π¦
ngl, if you wanna know the whole story on that one, go look at "FieldMapOutput" in GraphQL::Type::Library. iykyk π
that's the whole page, bestie, you ate it up π no cap.
this lil cutie lives in the User Contributed Perl Documentation, built against perl v5.34.0, dated 2022-03-27. 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