Class: Resolvers::GroupIssuesResolver

Inherits:
Issues::BaseParentResolver show all
Includes:
GroupIssuableResolver
Defined in:
app/graphql/resolvers/group_issues_resolver.rb

Constant Summary

Constants included from Issues::SortArguments

Issues::SortArguments::NON_STABLE_CURSOR_SORTS

Class Method Summary collapse

Instance Method Summary collapse

Methods included from GroupIssuableResolver

#resolve

Methods inherited from Issues::BaseParentResolver

#resolve_with_lookahead

Methods inherited from Issues::BaseResolver

accept_release_tag, resolver_complexity

Methods inherited from BaseResolver

as_single, authorization, authorized?, before_connection_authorization, before_connection_authorization_block, calculate_ext_conn_complexity, calls_gitaly!, complexity, complexity_multiplier, #current_user, field_options, last, #object, #offset_pagination, requires_argument!, resolver_complexity, #select_result, single, #single?, single_definition_blocks, singular_type, when_single

Methods included from Gitlab::Utils::Override

#extended, extensions, #included, #method_added, #override, #prepended, #queue_verification, verify!

Class Method Details

.issuable_collection_nameObject



6
7
8
# File 'app/graphql/resolvers/group_issues_resolver.rb', line 6

def self.issuable_collection_name
  'issues'
end

.project_associationsObject



17
18
19
# File 'app/graphql/resolvers/group_issues_resolver.rb', line 17

def self.project_associations
  [:namespace]
end

Instance Method Details

#ready?(**args) ⇒ Boolean

Returns:

  • (Boolean)


21
22
23
24
25
26
27
# File 'app/graphql/resolvers/group_issues_resolver.rb', line 21

def ready?(**args)
  if args.dig(:not, :release_tag).present?
    raise ::Gitlab::Graphql::Errors::ArgumentError, 'releaseTag filter is not allowed when parent is a group.'
  end

  super
end