Welcome to mirror list, hosted at ThFree Co, Russian Federation.

base.rb « releases « mutations « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dd1724fe320606afe3f865c0bdc43044bdf70473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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