Commit 2339daba authored by charlie ablett's avatar charlie ablett

Merge branch 'lm-adds-gitaly-call-label' into 'master'

Adds calls_gitaly to label DetailedStatus

See merge request gitlab-org/gitlab!52708
parents 22bd41de 2961a5b9
......@@ -18,6 +18,7 @@ module Types
description: 'Indicates if the status has further details.',
method: :has_details?
field :label, GraphQL::STRING_TYPE, null: true,
calls_gitaly: true,
description: 'Label of the status.'
field :text, GraphQL::STRING_TYPE, null: true,
description: 'Text of the status.'
......@@ -25,8 +26,8 @@ module Types
description: 'Tooltip associated with the status.',
method: :status_tooltip
field :action, Types::Ci::StatusActionType, null: true,
calls_gitaly: true,
description: 'Action information for the status. This includes method, button title, icon, path, and title.'
calls_gitaly: true,
description: 'Action information for the status. This includes method, button title, icon, path, and title.'
def 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