Formattatori e Codice
Formattatore GraphQL
Formattatore GraphQL gratuito. Riordina query, mutazioni, sottoscrizioni e schemi SDL con il parser GraphQL di Prettier. Incolla, formatta, copia — interamente nel browser.
Nota dell'editore
Understanding · Queries, prettified.
Questo capitolo approfondito è attualmente disponibile solo in inglese. Lo strumento di conversione qui sopra funziona nella tua lingua; il lungo articolo esplicativo non è stato ancora tradotto.
Domande frequenti
Quick answers.
›Does it format queries or just schemas?
Both. Queries, mutations, subscriptions, fragments and schema SDL all go through the same Prettier parser.
›Does it validate against my schema?
No — it's a syntactic formatter only. For schema-aware validation use a dedicated client like GraphiQL or Apollo Studio.
›Does it handle multi-operation documents?
Yes — multiple queries or mutations in a single document are formatted and separated consistently.
›Is my query sent anywhere?
No — everything runs in your browser.
Le persone cercano anche
Strumenti correlati
More in this room.
- Formattatore e Validatore JSONRendi più bello, minimizza e convalida JSON — gratuito, senza registrazione.
- Formattatore SQLRendi più belle e indentate le query SQL brutte.
- Formattatore e Validatore XMLRendi più bello, minimizza e convalida XML — istantaneamente.
- Formattatore HTMLRendi più bello e minimizza HTML — Impostazioni predefinite Prettier.
- Formattatore CSSRendi più belli e minimizza i fogli di stile CSS.
- Formattatore JavaScript / TypeScriptJS e TS formattati con Prettier, nel browser.