2020-10-24 23:57:45 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Resolvers
|
|
|
|
class IssueStatusCountsResolver < BaseResolver
|
2020-11-24 15:15:51 +05:30
|
|
|
prepend IssueResolverArguments
|
2020-10-24 23:57:45 +05:30
|
|
|
|
|
|
|
type Types::IssueStatusCountsType, null: true
|
|
|
|
|
2021-02-22 17:27:13 +05:30
|
|
|
extras [:lookahead]
|
|
|
|
|
2020-10-24 23:57:45 +05:30
|
|
|
def continue_issue_resolve(parent, finder, **args)
|
2020-11-24 15:15:51 +05:30
|
|
|
finder.parent_param = parent
|
|
|
|
apply_lookahead(Gitlab::IssuablesCountForState.new(finder, parent))
|
2020-10-24 23:57:45 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|