Commit de6244d3 authored by Felipe Artur's avatar Felipe Artur

Limit child epics and epic issues page size

Add 2000 limit to child epics and epic issue page size on graphQL.
parent 7c5cfb4d
......@@ -76,6 +76,7 @@ module Types
field :children, ::Types::EpicType.connection_type, null: true,
description: 'Children (sub-epics) of the epic',
max_page_size: 2000,
resolver: ::Resolvers::EpicsResolver
field :labels, Types::LabelType.connection_type, null: true,
description: 'Labels assigned to the epic'
......@@ -123,6 +124,7 @@ module Types
null: true,
complexity: 5,
description: 'A list of issues associated with the epic',
max_page_size: 2000,
resolver: Resolvers::EpicIssuesResolver
field :descendant_counts, Types::EpicDescendantCountType, null: true,
......
---
title: Limit child epics and epic issues page size
merge_request: 34553
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment