debian-mirror-gitlab/app/graphql/resolvers/ci/project_runners_resolver.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
323 B
Ruby
Raw Normal View History

2023-03-04 22:38:38 +05:30
# frozen_string_literal: true
module Resolvers
module Ci
class ProjectRunnersResolver < RunnersResolver
type Types::Ci::RunnerType.connection_type, null: true
def parent_param
raise 'Expected project missing' unless parent.is_a?(Project)
{ project: parent }
end
end
end
end