GraphQL Formatter

Formatting Rules

  • Each field on a new line with 2-space indentation
  • Arguments are kept inline for short queries
  • Directives follow field/argument they apply to
  • Comments preserved in SDL formatting