Replies: 1 comment
-
Hi, @kahoffman , thanks for opening this discussion. Your suggestions are valid and valuable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been working with go template syntax to try to reduce the number of json template files I have to maintain and to move all of my configuration into yaml. I am trying to figure out how to test what the final json looks like after monaco evaluates the yaml and json template. I have been using a go template test web page for which I have to manipulate the yaml config to work with due to the way parameters are defined. The ideal feature would be a way to output the api call payloads for the calls that will be made as part of the dry run. Maybe specify an output directory to see the results. This would make it easier to validate that json template is evaluating the way you expect and to debug when something goes wrong. Alternatively maybe have a test tool to do the same, i.e. reads the config yaml and template and output the evaluated template json. I could probably write a test tool in go myself but there should be a way to do this already.
Beta Was this translation helpful? Give feedback.
All reactions