-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Produce unquoted YAML from Dhall #2497
Comments
yeah, there still isn't a way to do this i'd be open to a pr that added support for this; the main open question is whether the quoting should be disabled globally in the generated YAML or just for a specific field (and if so, then how) |
Where does dhall-to-yaml generate quoted strings today? I'd like to dig into the code a little as I have this same issue. |
So there is the For the https://github.com/dhall-lang/dhall-haskell/blob/main/dhall-json/src/Dhall/JSON/Yaml.hs For the https://github.com/dhall-lang/dhall-haskell/blob/main/dhall-yaml/src/Dhall/Yaml.hs |
I would say that unquoted strings are special options that should be supported by adding those options to a Dhall data type. Right now there is already a |
Hello,
I'm trying to produce templated YAML from Dhall; the desired output is
Basically I would want the output string to be unquoted so that the templating engine can pick up
"/configmap.yaml"
(I came from a question here, as far as I can tell there isn't a canonical solution!)
Thanks!
The text was updated successfully, but these errors were encountered: