Open blakepettersson opened 1 year ago
any update on this?
@technosophos @mattfarina would you like to have a look at it? Seems to be a piece of cake 🍰 :)
I mistakenly opened a PR that did the same thing. I just closed it, but wanted to chime in to say I could really use these! Thanks for all the work you guys do 🙂
Appreciate your work on this @blakepettersson, when you have a chance can you review the comments? Would love to see this integrated in! Awesome job!
@mattfarina in the case of toYaml
it's pretty straightforward. My only concern is that this is inconsistent with how it's done with the existing tojson function.
Would it make sense to do the same with toJson
?
In the case of fromYaml
the same question arises; would it make sense to have an extra function in case a caller wants an Error
map returned? Would it then make sense to have the same for the json unmarshling?
@mattfarina , any chance you could review blacke's comments above? Would like to see this implemented as this would help a lot of downstream projects! Thanks!
1 Year :(
Hello everyone 👋,
I wanted to let you know that this issue has been addressed in the fork of this project at go-sprout/sprout. The fix has been implemented starting from version v0.4.0
.
For those looking for a solution, I recommend checking out the latest releases of the fork. This should help address the issue discussed in this thread.
Thank you!
In the same vein of #223, add YAML conversion functions. Fixes #358.