Commit 2961a5b9 authored by lauraMon's avatar lauraMon

Adds calls_gitaly to label DetailedStatus

parent b3881895
...@@ -18,6 +18,7 @@ module Types ...@@ -18,6 +18,7 @@ module Types
description: 'Indicates if the status has further details.', description: 'Indicates if the status has further details.',
method: :has_details? method: :has_details?
field :label, GraphQL::STRING_TYPE, null: true, field :label, GraphQL::STRING_TYPE, null: true,
calls_gitaly: true,
description: 'Label of the status.' description: 'Label of the status.'
field :text, GraphQL::STRING_TYPE, null: true, field :text, GraphQL::STRING_TYPE, null: true,
description: 'Text of the status.' description: 'Text of the status.'
...@@ -25,8 +26,8 @@ module Types ...@@ -25,8 +26,8 @@ module Types
description: 'Tooltip associated with the status.', description: 'Tooltip associated with the status.',
method: :status_tooltip method: :status_tooltip
field :action, Types::Ci::StatusActionType, null: true, field :action, Types::Ci::StatusActionType, null: true,
calls_gitaly: true, calls_gitaly: true,
description: 'Action information for the status. This includes method, button title, icon, path, and title.' description: 'Action information for the status. This includes method, button title, icon, path, and title.'
def action def action
if object.has_action? if object.has_action?
......
---
title: Increase the complexity score of GraphQL detailedStatus#label as it can call
Gitaly
merge_request: 52708
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment