- Does it format queries and schemas?
- Both. Query documents (operations, fragments, variables) and schema definitions (types, inputs, enums, directives) format with the same conventions.
- What style does it use?
- Prettier-style: field per line, arguments on their own lines when multiple, consistent indent. Matches GraphQL's canonical formatting.
- Does it validate the query?
- Syntax only — it parses the document but doesn't check against a schema. For schema validation use a GraphQL linter (eslint-plugin-graphql, graphql-schema-linter).
- What about GraphQL SDL comments?
- Preserved — descriptions (""" multi-line """) and single-line comments stay attached to their declarations.