-
Notifications
You must be signed in to change notification settings - Fork 211
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
Add the --preserveNull
flag and omit null fields by default on dhall-to-yaml
#1365
Conversation
Many thanks for the PR! :)
I'm confused. The code for parsing that option is still there. IMHO it's OK to keep Can you also update this example? dhall-haskell/dhall-json/src/Dhall/JSON.hs Lines 144 to 157 in 75e6cc5
|
The code is still there because it's still used by Unless I should also update |
Ah, that makes sense! 👍 Sorry for the confusion! |
I think it's worth keeping the Also, even thought I only requested this for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, apart from one more wibble. 👍 :)
@Gabriel439 I think this is fine to merge. Could you give it a quick look? |
Yeah, this looks great to me! I just added the @sjakobi: For future reference, you can merge without my approval. If I see anything that still needs to be fixed I can always create a follow-up pull request |
Currently this is a breaking change because the
--omitNull
flag is removed, but it would seem a bit confusing to keep it and have two flags for the same purpose. Let me know if I should keep it.