Open
Description
This was something that was brought up a while back:
https://discourse.dhall-lang.org/t/expense-proposal-pure-dhall-function-to-render-yaml/92/10?u=s-zeng
But I did not find a matching ticket for it, so I'm creating one now with this ticket.
We should auto generate a toJSON function for each kubernetes type that transforms them into a weakly typed Prelude.JSON.object.
Use case:
We can directly render yaml as text from dhall without needing dhall-to-yaml. In particular, I would find this very useful in making helm charts (our org requires making helm charts for making packages for external consumption) where it would become much more ergonomic to insert {{go template}} clauses for non-string purposes
Metadata
Metadata
Assignees
Labels
No labels