Major update - need testers #200
gabriel-samfira
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks!
A while ago I played around with the idea of using powershell classes and potentially adding an option to ConvertTo-Yaml to deserialize a yaml as a specific type. It was a really rough implementation, but I wanted to get a feeling of whether it would be useful or not to people.
I created a new implementation here:
#199
It combines a lot of the feedback we got over the years from the community. While it does not cover everything just yet, it does lean o the previous idea of deserializing to a powershell class or a PSCustomObject.
The changes are too broad co cover here as well, but I did add some info in the PR and you can find all the goodies that were added in the
examplesfolder of the above PR.A quick peek at what has been added:
PSCustomObjectswith support for most cases where you need to round-tripI need your help
While the old code is still there and should work as it always has, I need your help to test this in your environment to make sure that if we do release a new version of this, I won't break your workflows.
To the extent possible, please download the branch in the PR and test it in your workflow. If you feel brave enough, go through the examples folder and test out the new functionality as well. But at this point, I'll be happy to know if the large changes breaks existing setups.
As with anything new, don't use this in production (yet). Try it out in a test env.
Thanks in advance for the help!
Beta Was this translation helpful? Give feedback.
All reactions