summaryrefslogtreecommitdiff
path: root/app/graphql/types/deployment_details_type.rb
blob: f8ba0cb1b24196554190b6f96363926b581a2308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Types
  class DeploymentDetailsType < DeploymentType
    graphql_name 'DeploymentDetails'
    description 'The details of the deployment'
    authorize :read_deployment
    present_using Deployments::DeploymentPresenter

    field :tags,
          [Types::DeploymentTagType],
          description: 'Git tags that contain this deployment.',
          calls_gitaly: true
  end
end