pretty-print JSON in query-export
This commit is contained in:
+9
-1
@@ -1 +1,9 @@
|
||||
{"operations":[{"operationName":"InputObjectQuery","query":"\nquery InputObjectQuery ($query: UserQueryInput) {\n\tuser(query: $query) {\n\t\tid\n\t}\n}\n","sourceLocation":"testdata/queries/InputObject.graphql"}]}
|
||||
{
|
||||
"operations": [
|
||||
{
|
||||
"operationName": "InputObjectQuery",
|
||||
"query": "\nquery InputObjectQuery ($query: UserQueryInput) {\n\tuser(query: $query) {\n\t\tid\n\t}\n}\n",
|
||||
"sourceLocation": "testdata/queries/InputObject.graphql"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1 +1,9 @@
|
||||
{"operations":[{"operationName":"InterfaceNoFragmentsQuery","query":"\nquery InterfaceNoFragmentsQuery {\n\troot {\n\t\tid\n\t\tname\n\t\tchildren {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t}\n}\n","sourceLocation":"testdata/queries/InterfaceNoFragments.graphql"}]}
|
||||
{
|
||||
"operations": [
|
||||
{
|
||||
"operationName": "InterfaceNoFragmentsQuery",
|
||||
"query": "\nquery InterfaceNoFragmentsQuery {\n\troot {\n\t\tid\n\t\tname\n\t\tchildren {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t}\n}\n",
|
||||
"sourceLocation": "testdata/queries/InterfaceNoFragments.graphql"
|
||||
}
|
||||
]
|
||||
}
|
||||
+9
-1
@@ -1 +1,9 @@
|
||||
{"operations":[{"operationName":"ListInputQuery","query":"\nquery ListInputQuery ($names: [String]) {\n\tuser(query: {names:$names}) {\n\t\tid\n\t}\n}\n","sourceLocation":"testdata/queries/ListInput.graphql"}]}
|
||||
{
|
||||
"operations": [
|
||||
{
|
||||
"operationName": "ListInputQuery",
|
||||
"query": "\nquery ListInputQuery ($names: [String]) {\n\tuser(query: {names:$names}) {\n\t\tid\n\t}\n}\n",
|
||||
"sourceLocation": "testdata/queries/ListInput.graphql"
|
||||
}
|
||||
]
|
||||
}
|
||||
+9
-1
@@ -1 +1,9 @@
|
||||
{"operations":[{"operationName":"QueryWithAlias","query":"\nquery QueryWithAlias {\n\tUser: user {\n\t\tID: id\n\t}\n}\n","sourceLocation":"testdata/queries/QueryWithAlias.graphql"}]}
|
||||
{
|
||||
"operations": [
|
||||
{
|
||||
"operationName": "QueryWithAlias",
|
||||
"query": "\nquery QueryWithAlias {\n\tUser: user {\n\t\tID: id\n\t}\n}\n",
|
||||
"sourceLocation": "testdata/queries/QueryWithAlias.graphql"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1 +1,9 @@
|
||||
{"operations":[{"operationName":"QueryWithDoubleAlias","query":"\nquery QueryWithDoubleAlias {\n\tuser {\n\t\tID: id\n\t\tAlsoID: id\n\t}\n}\n","sourceLocation":"testdata/queries/QueryWithDoubleAlias.graphql"}]}
|
||||
{
|
||||
"operations": [
|
||||
{
|
||||
"operationName": "QueryWithDoubleAlias",
|
||||
"query": "\nquery QueryWithDoubleAlias {\n\tuser {\n\t\tID: id\n\t\tAlsoID: id\n\t}\n}\n",
|
||||
"sourceLocation": "testdata/queries/QueryWithDoubleAlias.graphql"
|
||||
}
|
||||
]
|
||||
}
|
||||
+9
-1
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
+9
-1
@@ -1 +1,9 @@
|
||||
{"operations":[{"operationName":"QueryWithSlices","query":"\nquery QueryWithSlices {\n\tuser {\n\t\temails\n\t\temailsOrNull\n\t\temailsWithNulls\n\t\temailsWithNullsOrNull\n\t}\n}\n","sourceLocation":"testdata/queries/QueryWithSlices.graphql"}]}
|
||||
{
|
||||
"operations": [
|
||||
{
|
||||
"operationName": "QueryWithSlices",
|
||||
"query": "\nquery QueryWithSlices {\n\tuser {\n\t\temails\n\t\temailsOrNull\n\t\temailsWithNulls\n\t\temailsWithNullsOrNull\n\t}\n}\n",
|
||||
"sourceLocation": "testdata/queries/QueryWithSlices.graphql"
|
||||
}
|
||||
]
|
||||
}
|
||||
+9
-1
@@ -1 +1,9 @@
|
||||
{"operations":[{"operationName":"QueryWithStructs","query":"\nquery QueryWithStructs {\n\tuser {\n\t\tauthMethods {\n\t\t\tprovider\n\t\t\temail\n\t\t}\n\t}\n}\n","sourceLocation":"testdata/queries/QueryWithStructs.graphql"}]}
|
||||
{
|
||||
"operations": [
|
||||
{
|
||||
"operationName": "QueryWithStructs",
|
||||
"query": "\nquery QueryWithStructs {\n\tuser {\n\t\tauthMethods {\n\t\t\tprovider\n\t\t\temail\n\t\t}\n\t}\n}\n",
|
||||
"sourceLocation": "testdata/queries/QueryWithStructs.graphql"
|
||||
}
|
||||
]
|
||||
}
|
||||
+9
-1
@@ -1 +1,9 @@
|
||||
{"operations":[{"operationName":"SimpleInputQuery","query":"\nquery SimpleInputQuery ($name: String!) {\n\tuser(query: {name:$name}) {\n\t\tid\n\t}\n}\n","sourceLocation":"testdata/queries/SimpleInput.graphql"}]}
|
||||
{
|
||||
"operations": [
|
||||
{
|
||||
"operationName": "SimpleInputQuery",
|
||||
"query": "\nquery SimpleInputQuery ($name: String!) {\n\tuser(query: {name:$name}) {\n\t\tid\n\t}\n}\n",
|
||||
"sourceLocation": "testdata/queries/SimpleInput.graphql"
|
||||
}
|
||||
]
|
||||
}
|
||||
+9
-1
@@ -1 +1,9 @@
|
||||
{"operations":[{"operationName":"SimpleQuery","query":"\nquery SimpleQuery {\n\tuser {\n\t\tid\n\t}\n}\n","sourceLocation":"testdata/queries/SimpleQuery.graphql"}]}
|
||||
{
|
||||
"operations": [
|
||||
{
|
||||
"operationName": "SimpleQuery",
|
||||
"query": "\nquery SimpleQuery {\n\tuser {\n\t\tid\n\t}\n}\n",
|
||||
"sourceLocation": "testdata/queries/SimpleQuery.graphql"
|
||||
}
|
||||
]
|
||||
}
|
||||
+9
-1
@@ -1 +1,9 @@
|
||||
{"operations":[{"operationName":"TypeNameQuery","query":"\nquery TypeNameQuery {\n\tuser {\n\t\t__typename\n\t\tid\n\t}\n}\n","sourceLocation":"testdata/queries/TypeName.graphql"}]}
|
||||
{
|
||||
"operations": [
|
||||
{
|
||||
"operationName": "TypeNameQuery",
|
||||
"query": "\nquery TypeNameQuery {\n\tuser {\n\t\t__typename\n\t\tid\n\t}\n}\n",
|
||||
"sourceLocation": "testdata/queries/TypeName.graphql"
|
||||
}
|
||||
]
|
||||
}
|
||||
+9
-1
@@ -1 +1,9 @@
|
||||
{"operations":[{"operationName":"UnionNoFragmentsQuery","query":"\nquery UnionNoFragmentsQuery {\n\trandomLeaf {\n\t\t__typename\n\t}\n}\n","sourceLocation":"testdata/queries/UnionNoFragments.graphql"}]}
|
||||
{
|
||||
"operations": [
|
||||
{
|
||||
"operationName": "UnionNoFragmentsQuery",
|
||||
"query": "\nquery UnionNoFragmentsQuery {\n\trandomLeaf {\n\t\t__typename\n\t}\n}\n",
|
||||
"sourceLocation": "testdata/queries/UnionNoFragments.graphql"
|
||||
}
|
||||
]
|
||||
}
|
||||
+9
-1
@@ -1 +1,9 @@
|
||||
{"operations":[{"operationName":"UsesEnumTwiceQuery","query":"\nquery UsesEnumTwiceQuery {\n\tMe: user {\n\t\troles\n\t}\n\tOtherUser: user {\n\t\troles\n\t}\n}\n","sourceLocation":"testdata/queries/UsesEnumTwice.graphql"}]}
|
||||
{
|
||||
"operations": [
|
||||
{
|
||||
"operationName": "UsesEnumTwiceQuery",
|
||||
"query": "\nquery UsesEnumTwiceQuery {\n\tMe: user {\n\t\troles\n\t}\n\tOtherUser: user {\n\t\troles\n\t}\n}\n",
|
||||
"sourceLocation": "testdata/queries/UsesEnumTwice.graphql"
|
||||
}
|
||||
]
|
||||
}
|
||||
+9
-1
@@ -1 +1,9 @@
|
||||
{"operations":[{"operationName":"unexported","query":"\nquery unexported ($query: UserQueryInput) {\n\tuser(query: $query) {\n\t\tid\n\t}\n}\n","sourceLocation":"testdata/queries/unexported.graphql"}]}
|
||||
{
|
||||
"operations": [
|
||||
{
|
||||
"operationName": "unexported",
|
||||
"query": "\nquery unexported ($query: UserQueryInput) {\n\tuser(query: $query) {\n\t\tid\n\t}\n}\n",
|
||||
"sourceLocation": "testdata/queries/unexported.graphql"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user