pretty-print JSON in query-export

This commit is contained in:
Ben Kraft
2021-04-02 16:01:52 -07:00
parent 4b06c94eed
commit edb12e3e0a
15 changed files with 134 additions and 21 deletions
+9 -1
View File
@@ -1 +1,9 @@
{"operations":[{"operationName":"QueryWithEnums","query":"\nquery QueryWithEnums {\n\tuser {\n\t\troles\n\t}\n\totherUser: user {\n\t\troles\n\t}\n}\n","sourceLocation":"testdata/queries/QueryWithEnums.graphql"}]}
{
"operations": [
{
"operationName": "QueryWithEnums",
"query": "\nquery QueryWithEnums {\n\tuser {\n\t\troles\n\t}\n\totherUser: user {\n\t\troles\n\t}\n}\n",
"sourceLocation": "testdata/queries/QueryWithEnums.graphql"
}
]
}