summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci/build_need_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/ci/build_need_type.rb')
-rw-r--r--app/graphql/types/ci/build_need_type.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/graphql/types/ci/build_need_type.rb b/app/graphql/types/ci/build_need_type.rb
index 3bd81f8fa8f..19ff758ad1d 100644
--- a/app/graphql/types/ci/build_need_type.rb
+++ b/app/graphql/types/ci/build_need_type.rb
@@ -7,6 +7,8 @@ module Types
class BuildNeedType < BaseObject
graphql_name 'CiBuildNeed'
+ field :id, GraphQL::ID_TYPE, null: false,
+ description: 'ID of the job we need to complete.'
field :name, GraphQL::STRING_TYPE, null: true,
description: 'Name of the job we need to complete.'
end