Skip to content

ตัวจัดรูปแบบและโค้ด

ตัวจัดรูปแบบ GraphQL

ตัวจัดรูปแบบ GraphQL ฟรี จัดระเบียบการสอบถาม, มิวเทชั่น, การสมัครสมาชิก และ Schema SDL ด้วย Parser ของ Prettier สำหรับ GraphQL วาง, จัดรูปแบบ, คัดลอก — ทั้งหมดในเบราว์เซอร์

Runs in your browser
GraphQL formatter & validator
lines: 0chars: 0size: 0 B
GraphQL · UTF-8 · 2-space indent

หมายเหตุจากบรรณาธิการ

Understanding · Queries, prettified.

บทเชิงลึกนี้มีให้บริการเฉพาะภาษาอังกฤษในขณะนี้ เครื่องมือแปลงด้านบนทำงานในภาษาของคุณ บทความอธิบายแบบยาวยังไม่ได้แปล

คำถามที่พบบ่อย

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.

ผู้คนยังค้นหา

เครื่องมือที่เกี่ยวข้อง

More in this room.

ดูทั้งหมดใน ตัวจัดรูปแบบและโค้ด