Skip to content

منسّق GraphQL

نسّق استعلامات GraphQL وعمليات التعديل والمخططات وتحقّق منها وصغّرها، مع تحديد أخطاء الصياغة بدقة. يعمل على جهازك.

بلا رفع
query GetUser($id: ID!, $first: Int = 10) {
  user(id: $id) {
    id
    name
    ...Avatar
    posts(first: $first) {
      edges {
        node {
          id
          title
          createdAt
        }
      }
    }
  }
}

fragment Avatar on User {
  avatar(size: 64) {
    url
  }
}

✓ Valid GraphQL · 1 operation, 1 fragment

كيفية استخدام منسّق GraphQL

  1. 1افتح منسّق GraphQL. يعمل في متصفحك دون تسجيل.
  2. 2اكتب بياناتك أو الصقها.
  3. 3انسخ النتيجة أو نزّلها.

أسئلة

Does it validate against my schema?

It checks syntax only (queries, mutations, fragments and SDL schemas). No schema or endpoint is needed.

Is anything sent to a server?

No. Formatting uses the reference graphql-js parser in your browser.

What does minify do?

It strips whitespace, commas and comments that GraphQL ignores, keeping the query identical in meaning.

أدوات أخرى