debian-mirror-gitlab/app/graphql/mutations/releases/base.rb
2021-03-08 18:12:59 +05:30

19 lines
417 B
Ruby

# frozen_string_literal: true
module Mutations
module Releases
class Base < BaseMutation
include ResolvesProject
argument :project_path, GraphQL::ID_TYPE,
required: true,
description: 'Full path of the project the release is associated with.'
private
def find_object(full_path:)
resolve_project(full_path: full_path)
end
end
end
end