graphql-ruby icon indicating copy to clipboard operation
graphql-ruby copied to clipboard

Greenfield notes

Open rmosolgo opened this issue 5 months ago • 0 comments

I have the chance to write a greenfield GraphQL API for the first time in ... a while. I'm keeping notes on things to improve:

  • Generate dataload_association fields for belongs_to associations
  • Generate connections for has_many associations
  • Add example resolve_type implementation in a comment?
  • Make global_id_field default to :id?
  • Default objects as implements Types::NodeType
  • Don't auto-generate passwordDigest 🙄

rmosolgo avatar Aug 07 '25 16:08 rmosolgo