Skip to content

Draft: Improve yaml validation with backend request

What does this MR do and why?

Improve yaml validation with backend request

  • retrieve schema
  • store it in local storage
  • when switching from yaml mode to rule mode, validate the yaml against the schema
  • use the error messages to display human-readable warnings immediately instead of upon save

Changelog: changed EE: true

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
movie

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #470868

Related to #429249

Edited by Alexander Turinske

Merge request reports

Loading