-
Notifications
You must be signed in to change notification settings - Fork 472
Description
Is your feature request related to a problem? Please describe.
Gonna be honest, YAML has bad ergonomics. It’s too easy to get the whitespace wrong in some line, or forget to have a - somewhere, and then the webhook endpoint just responds with a 500.
Minimal syntax is all well and good, but go too far and it becomes ambiguous. Users should not have to trigger runs to find out if they formatted their workflows in the way OBS expects, and it should not be this easy for incorrect nesting to be hiding in plain sight because of a missing space character.
Describe the solution you'd like
Use a format with obvious nesting, item and value syntax that may be more verbose but makes it easier to “express what you mean”. TOML, for example.
Describe alternatives you've considered
More detailed documentation and tools/API endpoints to validate workflows maybe. But those would not fix YAML’s problems.