Commit 4ad9362b authored by Alex Kalderimis's avatar Alex Kalderimis

Update errors field description

This changes the errors field description to mention that they are not
necessarily absent on failure.
parent 08654a6e
......@@ -9,7 +9,7 @@ module Mutations
field :errors, [GraphQL::STRING_TYPE],
null: false,
description: "Reasons why the mutation failed."
description: "Errors encountered during execution of the mutation."
def current_user
context[:current_user]
......
......@@ -33,7 +33,7 @@ type AddAwardEmojiPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
}
......@@ -63,7 +63,7 @@ type AddProjectToSecurityDashboardPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -128,7 +128,7 @@ type AdminSidekiqQueuesDeleteJobsPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -756,7 +756,7 @@ type BoardListUpdateLimitMetricsPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -935,7 +935,7 @@ type CreateBranchPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
}
......@@ -975,7 +975,7 @@ type CreateDiffNotePayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -1060,7 +1060,7 @@ type CreateEpicPayload {
epic: Epic
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
}
......@@ -1100,7 +1100,7 @@ type CreateImageDiffNotePayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -1145,7 +1145,7 @@ type CreateNotePayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -1185,7 +1185,7 @@ type CreateRequirementPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -1245,7 +1245,7 @@ type CreateSnippetPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -1790,7 +1790,7 @@ type DesignManagementDeletePayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -1840,7 +1840,7 @@ type DesignManagementUploadPayload {
designs: [Design!]!
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -2030,7 +2030,7 @@ type DestroyNotePayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -2065,7 +2065,7 @@ type DestroySnippetPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -2394,7 +2394,7 @@ type DismissVulnerabilityPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -2947,7 +2947,7 @@ type EpicAddIssuePayload {
epicIssue: EpicIssue
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
}
......@@ -3472,7 +3472,7 @@ type EpicSetSubscriptionPayload {
epic: Epic
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
}
......@@ -3581,7 +3581,7 @@ type EpicTreeReorderPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
}
......@@ -4807,7 +4807,7 @@ type IssueSetConfidentialPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -4852,7 +4852,7 @@ type IssueSetDueDatePayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -4897,7 +4897,7 @@ type IssueSetWeightPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -5093,7 +5093,7 @@ type JiraImportStartPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -5216,7 +5216,7 @@ type MarkAsSpamSnippetPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -5763,7 +5763,7 @@ type MergeRequestSetAssigneesPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -5813,7 +5813,7 @@ type MergeRequestSetLabelsPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -5858,7 +5858,7 @@ type MergeRequestSetLockedPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -5903,7 +5903,7 @@ type MergeRequestSetMilestonePayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -5948,7 +5948,7 @@ type MergeRequestSetSubscriptionPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -5993,7 +5993,7 @@ type MergeRequestSetWipPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -8487,7 +8487,7 @@ type RemoveAwardEmojiPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
}
......@@ -8517,7 +8517,7 @@ type RemoveProjectFromSecurityDashboardPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
}
......@@ -9856,7 +9856,7 @@ type TodoMarkDonePayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -9906,7 +9906,7 @@ type TodoRestoreManyPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -9926,7 +9926,7 @@ type TodoRestorePayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -9988,7 +9988,7 @@ type TodosMarkAllDonePayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -10033,7 +10033,7 @@ type ToggleAwardEmojiPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -10245,7 +10245,7 @@ type UpdateAlertStatusPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
}
......@@ -10357,7 +10357,7 @@ type UpdateEpicPayload {
epic: Epic
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
}
......@@ -10397,7 +10397,7 @@ type UpdateImageDiffNotePayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -10462,7 +10462,7 @@ type UpdateIssuePayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -10502,7 +10502,7 @@ type UpdateNotePayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -10552,7 +10552,7 @@ type UpdateRequirementPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......@@ -10612,7 +10612,7 @@ type UpdateSnippetPayload {
clientMutationId: String
"""
Reasons why the mutation failed.
Errors encountered during execution of the mutation.
"""
errors: [String!]!
......
This diff is collapsed.
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