Skip to content

Ensure all mutations have 'errors' field and a proper handler

What does this MR do?

  1. Adds the errors field to all mutations
  2. Provides a basic error handling for all mutations to ensure errors-as-data are handled

Affected mutations

  • app/assets/javascripts/sidebar/queries/updateStatus.mutation.graphql

Affected error handlers

  • ee/app/assets/javascripts/sidebar/sidebar_mediator.js
  • app/assets/javascripts/snippets/components/snippet_header.vue

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Issue: #32085 (closed)

Edited by Natalia Tepluhina

Merge request reports