Skip to content

Commit

Permalink
Update graphql.json
Browse files Browse the repository at this point in the history
  • Loading branch information
aringo authored Oct 5, 2020
1 parent 3e563b8 commit 30ca5a1
Showing 1 changed file with 176 additions and 0 deletions.
176 changes: 176 additions & 0 deletions graphql.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,179 @@

# Simple Query replace [NAME]
{"query":"query Query {\n [NAME] {\n id\n }\n}","variables":null,"operationName":"Query"}

# Introspection Old
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
name
description
args {
...InputValue
}
onOperation
onFragment
onField
}
}
}

fragment FullType on __Type {
kind
name
description
fields(includeDeprecated: true) {
name
description
args {
...InputValue
}
type {
...TypeRef
}
isDeprecated
deprecationReason
}
inputFields {
...InputValue
}
interfaces {
...TypeRef
}
enumValues(includeDeprecated: true) {
name
description
isDeprecated
deprecationReason
}
possibleTypes {
...TypeRef
}
}

fragment InputValue on __InputValue {
name
description
type { ...TypeRef }
defaultValue
}

fragment TypeRef on __Type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}

# Introspection New
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
name
description
args {
...InputValue
}
locations
}
}
}

fragment FullType on __Type {
kind
name
description
fields(includeDeprecated: true) {
name
description
args {
...InputValue
}
type {
...TypeRef
}
isDeprecated
deprecationReason
}
inputFields {
...InputValue
}
interfaces {
...TypeRef
}
enumValues(includeDeprecated: true) {
name
description
isDeprecated
deprecationReason
}
possibleTypes {
...TypeRef
}
}

fragment InputValue on __InputValue {
name
description
type { ...TypeRef }
defaultValue
}

fragment TypeRef on __Type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}

# Schema Dump
query MyQuery {
__schema {
types {
name
fields {
name
}

}
}
}

# Simple Query replace [NAME]
query Query {
[NAME] {
id
}
}

0 comments on commit 30ca5a1

Please sign in to comment.