debian-mirror-gitlab/app/graphql/mutations/releases/base.rb

20 lines
417 B
Ruby
Raw Normal View History

2021-01-29 00:20:46 +05:30
# frozen_string_literal: true
module Mutations
module Releases
class Base < BaseMutation
include ResolvesProject
argument :project_path, GraphQL::ID_TYPE,
required: true,
2021-03-08 18:12:59 +05:30
description: 'Full path of the project the release is associated with.'
2021-01-29 00:20:46 +05:30
private
def find_object(full_path:)
resolve_project(full_path: full_path)
end
end
end
end