GraphQ...:Named(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::Named β€” it's the GraphQL "named" object role, bestie πŸŽ€


🌸 SYNOPSIS 🌸

okay so literally all you do is:

with qw(GraphQL::Role::Named);

that's it. that's the whole thing. slay πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so this role is giving type constraints for named objects, and on top of that it also hands you two attributes: name and description. that's the vibe. 🫢


πŸ’– ATTRIBUTES πŸ’–

πŸŽ€ name

yep. it's the name. iconic, no notes. πŸ‘‘

🌈 description

Optional description. lowkey optional, highkey useful. πŸ’œ


⭐ METHODS ⭐

🧚 to_string

it's part of serialisation. that's its whole job fr fr ✨


that's the whole page, bestie β€” no cap, no hidden extras, every bit of it right here. πŸ’–

signing off: this lil page lives in the User Contributed Perl Documentation, it's running on perl v5.34.0, and it was dated 2022-03-27. periodt. πŸŒŸπŸ“

πŸ“¦ where this page comes from