Project

General

Profile

action #66167

Provide a debugging option for openqa-validate-yaml

Added by tinita over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2020-04-28
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Since we can use *aliases and Merge Keys << in job templates, it would be nice to see how the YAML would look like if all aliases are resolved.

Thinking about --debug (YAML|JSON|Data::Dump(er))

History

#1 Updated by tinita over 1 year ago

For that to work, I could add an option to YAML::PP that resolves aliases automatically when loading and/or dumping.
Just need to be careful to handle cyclic refs accordingly.

A quick hack is already working well.

#2 Updated by okurz over 1 year ago

  • Category set to Feature requests

Also available in: Atom PDF