[go: up one dir, main page]

Skip to content

Return array of devfile errors rather than concatenated string

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

MR: Return array of devfile errors rather than a si... (!202523 - closed)

NOTE: For context on MR heading, see: https://handbook.gitlab.com/handbook/engineering/devops/dev/create/remote-development/index.html#relationship-of-issues-to-mrs

Description

TODO: Modify message support to return array of errors instead of joining the list into a single string.

Original thread: !201038 (comment 2696531195)

Acceptance criteria

TODO:

  • [Value being sent to GraphQL should be an array of errors.]

Implementation plan

TODO:

  1. Change message_support.rb to return array of errors and main.rb to accept this array (Fix integration spec file)
  2. Assert in GraphQL explorer that the endpoint returns an array of errors not an array containing one string element including all errors
Edited by 🤖 GitLab Bot 🤖