graphql-ruby
graphql-ruby copied to clipboard
Greenfield notes
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_associationfields for belongs_to associations - Generate connections for has_many associations
- Add example
resolve_typeimplementation in a comment? - Make
global_id_fielddefault to:id? - Default objects as
implements Types::NodeType - Don't auto-generate
passwordDigest🙄