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

base.rb « notes « mutations « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d656835c335f1fe8a39189db57a9eeefa6e38086 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

module Mutations
  module Notes
    class Base < BaseMutation
      QUICK_ACTION_ONLY_WARNING = <<~NB
        If the body of the Note contains only quick actions,
        the Note will be destroyed during an update, and no Note will be
        returned.
      NB

      field :note,
            Types::Notes::NoteType,
            null: true,
            description: 'Note after mutation.'
    end
  end
end