Dummu - Formatting Rule in GraphQL
Posted On: 26 August 2026
Nobody agrees on this by taste, so the fix is to stop arguing and automate it.
Why this matters for GraphQL
This is a bold claim, an italic aside, and an underlined point, all in one GraphQL example.
What it touches:
- The GraphQL runtime or interpreter
- Whatever calls the code around it
- Anyone reading this six months from now
How to apply it:
- Read the snippet below once, slowly.
- Try changing one value and predict the output before running it.
- Compare your prediction against what actually happens.
"A formatter enforced in CI ends the debate permanently."
query GetUser($id: ID!) { user(id: $id) { name email } }
Reference: GraphQL documentation
A formatter enforced in CI ends the debate permanently.