From 2c72daf2f1744f2b8c8c6674c266907e9ef55558 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 30 Mar 2020 18:08:07 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/graphql/types/notes/note_type.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/graphql') diff --git a/app/graphql/types/notes/note_type.rb b/app/graphql/types/notes/note_type.rb index b60fc96bd03..d48cc868434 100644 --- a/app/graphql/types/notes/note_type.rb +++ b/app/graphql/types/notes/note_type.rb @@ -51,6 +51,9 @@ module Types description: "Timestamp of the note's resolution" field :position, Types::Notes::DiffPositionType, null: true, description: 'The position of this note on a diff' + field :confidential, GraphQL::BOOLEAN_TYPE, null: true, + description: 'Indicates if this note is confidential', + method: :confidential? end end end -- cgit v1.2.3