Skip to content

Add structural YAML-validation #66

@nuest

Description

@nuest

This is especially useful when we allow arbitrary content, see https://codecheck.org.uk/spec/config/1.0/#additional-content

Steps

  • after saving the CODECHECK metadata form (cf. Feature/codecheck metadata form #59) the YAML file should be internally created once and its contents should be retrieved
  • it should then be structurally validated (parsing the file once with Symfony YAML), communicating errors back to the user
  • the user only gets to download the file if there are no errors
  • write unit tests

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions