Skip to content

Greenfield notes #5414

@rmosolgo

Description

@rmosolgo

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 🙄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions