Class: Resolvers::ProjectResolver
Class Method Summary
collapse
Instance Method Summary
collapse
#model_by_full_path
as_single, authorization, authorized?, before_connection_authorization, before_connection_authorization_block, calculate_ext_conn_complexity, calls_gitaly!, calls_gitaly?, complexity, #current_user, last, #object, #offset_pagination, requires_argument!, requires_argument?, resolver_complexity, #select_result, single, #single?, single_definition_blocks, singular_type, when_single
#extended, extensions, #included, #method_added, #override, #prepended, #queue_verification, verify!
Class Method Details
.complexity_multiplier(args) ⇒ Object
17
18
19
|
# File 'app/graphql/resolvers/project_resolver.rb', line 17
def self.complexity_multiplier(args)
0
end
|
.target_type ⇒ Object
5
6
7
|
# File 'app/graphql/resolvers/project_resolver.rb', line 5
def self.target_type
'project'
end
|
Instance Method Details
#resolve(full_path:) ⇒ Object
13
14
15
|
# File 'app/graphql/resolvers/project_resolver.rb', line 13
def resolve(full_path:)
model_by_full_path(Project, full_path)
end
|