Format ID as uppercase in GraphQL descriptions

parent c731e76a
......@@ -11,7 +11,7 @@ module Mutations
argument :iid, GraphQL::STRING_TYPE,
required: true,
description: "The iid of the alert to mutate"
description: "The IID of the alert to mutate"
field :alert,
Types::AlertManagement::AlertType,
......
......@@ -8,7 +8,7 @@ module Mutations
argument :id, Types::GlobalIDType[::AlertManagement::HttpIntegration],
required: true,
description: "The id of the integration to remove"
description: "The ID of the integration to remove"
def resolve(id:)
integration = authorized_find!(id: id)
......
......@@ -8,7 +8,7 @@ module Mutations
argument :id, Types::GlobalIDType[::AlertManagement::HttpIntegration],
required: true,
description: "The id of the integration to mutate"
description: "The ID of the integration to mutate"
def resolve(id:)
integration = authorized_find!(id: id)
......
......@@ -8,7 +8,7 @@ module Mutations
argument :id, Types::GlobalIDType[::AlertManagement::HttpIntegration],
required: true,
description: "The id of the integration to mutate"
description: "The ID of the integration to mutate"
argument :name, GraphQL::STRING_TYPE,
required: false,
......
......@@ -8,7 +8,7 @@ module Mutations
argument :id, Types::GlobalIDType[::PrometheusService],
required: true,
description: "The id of the integration to mutate"
description: "The ID of the integration to mutate"
def resolve(id:)
integration = authorized_find!(id: id)
......
......@@ -8,7 +8,7 @@ module Mutations
argument :id, Types::GlobalIDType[::PrometheusService],
required: true,
description: "The id of the integration to mutate"
description: "The ID of the integration to mutate"
argument :active, GraphQL::BOOLEAN_TYPE,
required: false,
......
......@@ -12,7 +12,7 @@ module Mutations
argument :awardable_id,
::Types::GlobalIDType[::Awardable],
required: true,
description: 'The global id of the awardable resource'
description: 'The global ID of the awardable resource'
argument :name,
GraphQL::STRING_TYPE,
......
......@@ -7,7 +7,7 @@ module Mutations
argument :id, PipelineID,
required: true,
description: 'The id of the pipeline to mutate'
description: 'The ID of the pipeline to mutate'
private
......
......@@ -11,7 +11,7 @@ module Mutations
argument :iid, GraphQL::ID_TYPE,
required: true,
description: "The iid of the issue to modify designs for"
description: "The IID of the issue to modify designs for"
private
......
......@@ -10,7 +10,7 @@ module Mutations
argument :id,
Types::GlobalIDType[Discussion],
required: true,
description: 'The global id of the discussion'
description: 'The global ID of the discussion'
argument :resolve,
GraphQL::BOOLEAN_TYPE,
......
......@@ -11,7 +11,7 @@ module Mutations
argument :iid, GraphQL::STRING_TYPE,
required: true,
description: "The iid of the merge request to mutate"
description: "The IID of the merge request to mutate"
field :merge_request,
Types::MergeRequestType,
......
......@@ -20,12 +20,12 @@ module Mutations
argument :environment_id,
::Types::GlobalIDType[::Environment],
required: false,
description: 'The global id of the environment to add an annotation to'
description: 'The global ID of the environment to add an annotation to'
argument :cluster_id,
::Types::GlobalIDType[::Clusters::Cluster],
required: false,
description: 'The global id of the cluster to add an annotation to'
description: 'The global ID of the cluster to add an annotation to'
argument :starting_at, Types::TimeType,
required: true,
......
......@@ -11,7 +11,7 @@ module Mutations
argument :noteable_id,
::Types::GlobalIDType[::Noteable],
required: true,
description: 'The global id of the resource to add a note to'
description: 'The global ID of the resource to add a note to'
argument :body,
GraphQL::STRING_TYPE,
......
......@@ -9,7 +9,7 @@ module Mutations
argument :discussion_id,
::Types::GlobalIDType[::Discussion],
required: false,
description: 'The global id of the discussion this note is in reply to'
description: 'The global ID of the discussion this note is in reply to'
private
......
......@@ -10,7 +10,7 @@ module Mutations
argument :id,
::Types::GlobalIDType[::Note],
required: true,
description: 'The global id of the note to destroy'
description: 'The global ID of the note to destroy'
def resolve(id:)
note = authorized_find!(id: id)
......
......@@ -16,7 +16,7 @@ module Mutations
loads: Types::Notes::NoteType,
as: :note,
required: true,
description: 'The global id of the DiffNote to update'
description: 'The global ID of the DiffNote to update'
argument :position,
Types::Notes::UpdateDiffImagePositionInputType,
......
......@@ -11,7 +11,7 @@ module Mutations
argument :id,
::Types::GlobalIDType[::Note],
required: true,
description: 'The global id of the note to update'
description: 'The global ID of the note to update'
def resolve(args)
note = authorized_find!(id: args[:id])
......
......@@ -9,7 +9,7 @@ module Mutations
argument :id, ::Types::GlobalIDType[::Snippet],
required: true,
description: 'The global id of the snippet to destroy'
description: 'The global ID of the snippet to destroy'
def resolve(id:)
snippet = authorized_find!(id: id)
......
......@@ -7,7 +7,7 @@ module Mutations
argument :id, ::Types::GlobalIDType[::Snippet],
required: true,
description: 'The global id of the snippet to update'
description: 'The global ID of the snippet to update'
def resolve(id:)
snippet = authorized_find!(id: id)
......
......@@ -9,7 +9,7 @@ module Mutations
argument :id, ::Types::GlobalIDType[::Snippet],
required: true,
description: 'The global id of the snippet to update'
description: 'The global ID of the snippet to update'
argument :title, GraphQL::STRING_TYPE,
required: false,
......
......@@ -10,7 +10,7 @@ module Mutations
argument :id,
::Types::GlobalIDType[::Todo],
required: true,
description: 'The global id of the todo to mark as done'
description: 'The global ID of the todo to mark as done'
field :todo, Types::TodoType,
null: false,
......
......@@ -10,7 +10,7 @@ module Mutations
argument :id,
::Types::GlobalIDType[::Todo],
required: true,
description: 'The global id of the todo to restore'
description: 'The global ID of the todo to restore'
field :todo, Types::TodoType,
null: false,
......
......@@ -10,11 +10,11 @@ module Mutations
argument :ids,
[::Types::GlobalIDType[::Todo]],
required: true,
description: 'The global ids of the todos to restore (a maximum of 50 is supported at once)'
description: 'The global IDs of the todos to restore (a maximum of 50 is supported at once)'
field :updated_ids, [::Types::GlobalIDType[Todo]],
null: false,
description: 'The ids of the updated todo items',
description: 'The IDs of the updated todo items',
deprecated: { reason: 'Use todos', milestone: '13.2' }
field :todos, [::Types::TodoType],
......
......@@ -8,7 +8,7 @@ module Types
argument :jira_account_id,
GraphQL::STRING_TYPE,
required: true,
description: 'Jira account id of the user'
description: 'Jira account ID of the user'
argument :gitlab_id,
GraphQL::INT_TYPE,
required: false,
......
......@@ -29,12 +29,12 @@ module Mutations
::Types::GlobalIDType[::User],
required: false,
loads: ::Types::UserType,
description: 'The id of user to be assigned to the board'
description: 'The ID of user to be assigned to the board'
argument :milestone_id,
::Types::GlobalIDType[::Milestone],
required: false,
description: 'The id of milestone to be assigned to the board'
description: 'The ID of milestone to be assigned to the board'
argument :weight,
GraphQL::INT_TYPE,
......
......@@ -12,7 +12,7 @@ module Mutations
argument :id, AgentID,
required: true,
description: 'Global id of the cluster agent that will be deleted'
description: 'Global ID of the cluster agent that will be deleted'
def resolve(id:)
cluster_agent = authorized_find!(id: id)
......
......@@ -10,7 +10,7 @@ module Mutations
argument :base_epic_id,
::Types::GlobalIDType[::Epic],
required: true,
description: 'The id of the base epic of the tree'
description: 'The ID of the base epic of the tree'
argument :moved,
Types::EpicTree::EpicTreeNodeInputType,
......
......@@ -15,7 +15,7 @@ module Mutations
argument :issue_iid, GraphQL::STRING_TYPE,
required: true,
description: 'The iid of the issue to be added'
description: 'The IID of the issue to be added'
field :epic_issue,
Types::EpicIssueType,
......
......@@ -7,7 +7,7 @@ module Mutations
argument :iid, GraphQL::ID_TYPE,
required: true,
description: "The iid of the epic to mutate"
description: "The IID of the epic to mutate"
argument :group_path, GraphQL::ID_TYPE,
required: true,
......
......@@ -5,7 +5,7 @@ module Mutations
class Base < ::Mutations::BaseMutation
argument :id, ::Types::GlobalIDType[::Namespace],
required: true,
description: 'The global id of the namespace to mutate'
description: 'The global ID of the namespace to mutate'
field :namespace,
Types::NamespaceType,
......
......@@ -13,7 +13,7 @@ module Mutations
argument :iid, GraphQL::STRING_TYPE,
required: true,
description: 'The iid of the requirement to update'
description: 'The IID of the requirement to update'
argument :last_test_report_state, Types::RequirementsManagement::TestReportStateEnum,
required: false,
......
......@@ -39,7 +39,7 @@ module Resolvers
argument :iid_starts_with, GraphQL::STRING_TYPE,
required: false,
description: 'Filter epics by iid for autocomplete'
description: 'Filter epics by IID for autocomplete'
argument :include_descendant_groups, GraphQL::BOOLEAN_TYPE,
required: false,
......
......@@ -10,12 +10,12 @@ module Types
argument :id,
::Types::GlobalIDType[::EpicTreeSorting],
required: true,
description: 'The id of the epic_issue or epic that is being moved'
description: 'The ID of the epic_issue or epic that is being moved'
argument :adjacent_reference_id,
::Types::GlobalIDType[::EpicTreeSorting],
required: false,
description: 'The id of the epic_issue or issue that the actual epic or issue is switched with'
description: 'The ID of the epic_issue or issue that the actual epic or issue is switched with'
argument :relative_position,
MoveTypeEnum,
......
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