diff options
author | Brett Walker <bwalker@gitlab.com> | 2019-04-05 12:30:10 -0500 |
---|---|---|
committer | Brett Walker <bwalker@gitlab.com> | 2019-04-08 12:33:33 -0500 |
commit | e86a2e7eb27468de8357f27752a9f86ee926807e (patch) | |
tree | d95fce50b5495cb78926adbe3703a81b9478ad8d /spec/fixtures/api | |
parent | 425377f35747131bed6550170af576d3028b28f9 (diff) | |
download | gitlab-ce-e86a2e7eb27468de8357f27752a9f86ee926807e.tar.gz |
Increase GraphQL complexity
An IntrospectionQuery required more
complexity points.
Diffstat (limited to 'spec/fixtures/api')
-rw-r--r-- | spec/fixtures/api/graphql/introspection.graphql | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/spec/fixtures/api/graphql/introspection.graphql b/spec/fixtures/api/graphql/introspection.graphql new file mode 100644 index 00000000000..7b712068fcd --- /dev/null +++ b/spec/fixtures/api/graphql/introspection.graphql @@ -0,0 +1,92 @@ +# pulled from GraphiQL query +query IntrospectionQuery { + __schema { + queryType { name } + mutationType { name } + subscriptionType { name } + types { + ...FullType + } + directives { + name + description + locations + args { + ...InputValue + } + } + } +} + +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 + ofType { + kind + name + ofType { + kind + name + ofType { + kind + name + ofType { + kind + name + } + } + } + } + } + } + } +} |