diff options
Diffstat (limited to 'spec/fixtures/api')
4 files changed, 45 insertions, 90 deletions
diff --git a/spec/fixtures/api/graphql/recursive-introspection.graphql b/spec/fixtures/api/graphql/recursive-introspection.graphql index db970bb14b6..8346fbdde74 100644 --- a/spec/fixtures/api/graphql/recursive-introspection.graphql +++ b/spec/fixtures/api/graphql/recursive-introspection.graphql @@ -2,51 +2,11 @@ query allSchemaTypes { __schema { types { fields { - type{ + type { fields { type { fields { - type { - fields { - type { - fields { - type { - fields { - type { - fields { - type { - fields { - type { - fields { - type { - fields { - type { - fields { - type { - fields { - type { - fields { - name - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } + name } } } @@ -54,4 +14,4 @@ query allSchemaTypes { } } } -}
\ No newline at end of file +} diff --git a/spec/fixtures/api/graphql/recursive-query-edges-node.graphql b/spec/fixtures/api/graphql/recursive-query-edges-node.graphql new file mode 100644 index 00000000000..de790b1a6c7 --- /dev/null +++ b/spec/fixtures/api/graphql/recursive-query-edges-node.graphql @@ -0,0 +1,23 @@ +{ + project(fullPath: "gitlab-org/gitlab") { + group { + projects { + edges { + node { + group { + projects { + edges { + node { + group { + description + } + } + } + } + } + } + } + } + } + } +} diff --git a/spec/fixtures/api/graphql/recursive-query-nodes.graphql b/spec/fixtures/api/graphql/recursive-query-nodes.graphql new file mode 100644 index 00000000000..c8d93f74f86 --- /dev/null +++ b/spec/fixtures/api/graphql/recursive-query-nodes.graphql @@ -0,0 +1,19 @@ +{ + project(fullPath: "gitlab-org/gitlab") { + group { + projects { + nodes { + group { + projects { + nodes { + group { + description + } + } + } + } + } + } + } + } +} diff --git a/spec/fixtures/api/graphql/recursive-query.graphql b/spec/fixtures/api/graphql/recursive-query.graphql deleted file mode 100644 index d1616c4de6e..00000000000 --- a/spec/fixtures/api/graphql/recursive-query.graphql +++ /dev/null @@ -1,47 +0,0 @@ -{ - project(fullPath: "gitlab-org/gitlab-ce") { - group { - projects { - edges { - node { - group { - projects { - edges { - node { - group { - projects { - edges { - node { - group { - projects { - edges { - node { - group { - projects { - edges { - node { - group { - description - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } -} |