GraphQ...sOutput(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::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