GraphQL Formatter

Format and prettify GraphQL queries

1query GetUser($id: ID!) {
2  user(id: $id) {
3    id name email posts(first: 5,
4    orderBy: CREATED_AT_DESC) {
5      edges {
6        node {
7          id title body createdAt tags {
8            name
9          }
10        }
11      }
12      pageInfo {
13        hasNextPage endCursor
14      }
15    }
16    friends {
17      id name
18    }
19  }
20}

Command Palette

Search for a command to run...