Open alexhumphreys opened 5 years ago
Hi @alexhumphreys! The development of dhall-json
has moved to dhall-haskell
, so maybe we could move that issue there.
This said, I believe you are right and this is currently not supported. In fact, it looks like the homogeneous records conversion is applied specifically to lists, while unions go through unconverted. I think the conversion logic could be pulled out and applied in other places, but need to think how far we can take this 🤔
Hey @f-f, thanks for the heads up about the move, i'll copy paste this issue over there and close it here. And yeah adding support for this would be cool, though I can imagine there might be some work involved alright.
Yeah, I will need to go through the merged repositories and mark them clearly so that people know that they have been migrated
I'm writing some GoCD pipeline configs in dhall and ran into the following issue. Given this dhall file:
I get this output:
whereas I would have expected:
I'm new to dhall so it's likely i'm doing something wrong, any help would be appreciated.