diff options
Diffstat (limited to 'app/graphql/types/work_item_type.rb')
-rw-r--r-- | app/graphql/types/work_item_type.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/graphql/types/work_item_type.rb b/app/graphql/types/work_item_type.rb index b46362f66b8..888f22b4dd3 100644 --- a/app/graphql/types/work_item_type.rb +++ b/app/graphql/types/work_item_type.rb @@ -27,7 +27,10 @@ module Types GraphQL::Types::Int, null: false, description: 'Lock version of the work item. Incremented each time the work item is updated.' - field :project, Types::ProjectType, null: false, + field :namespace, Types::NamespaceType, null: true, + description: 'Namespace the work item belongs to.', + alpha: { milestone: '15.10' } + field :project, Types::ProjectType, null: true, description: 'Project the work item belongs to.', alpha: { milestone: '15.3' } field :state, WorkItemStateEnum, null: false, |