-
Notifications
You must be signed in to change notification settings - Fork 78
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
Remove incorrect toText #209
Conversation
it looks to me like this call to |
This fails on older lts versions as -- |
-- @since 0.8.13
data Config = Config
{ confCompare :: JSONPath -> Text -> Text -> Ordering -- ^ Function used to sort keys in objects
, confDropNull :: Bool -- ^ Drop null values from objects
} This uses JSONPath which was only exposed from |
I could not for the life of me figure out where the |
@treeowl I made the aeson types explicit - if you'd prefer I make them qualified instead then I'm happy to oblige. |
Personally I think a qualified use of the |
I think |
b12bb35
to
90db333
Compare
@treeowl I realized the explicit imports cleared up nothing, so I made them more explicit - let me know if that helps. @jonathanlking I gave this a go - quite a pain and I am not confident it is right. @phadej - would be helpful if you have a moment to look at this in case there is something more sensible to be done. |
Definitely better. Qualified would be clearer still, but it's not worth too much clutter. |
@treeowl I made them qualified too, don't think it is much harm and if it improves the readability in the longer term then it is worth it imo |
@Boarders I agree it’s nasty! I’m not sure about functional correctness, but you could be confident that things compile if you added more lts versions (i.e. jonathanlking@5619707). I don’t really see any downside to this, as they all run in parallel and GitHub actions are free? |
It would be nice to get some feedback on what we want to do regarding older versions to move this PR forward. I'm happy to take @jonathanlking's suggestion on adding lts versions - what would be good coverage? |
I commented on the original issue that this had already been resolved: #207 (comment). This PR is no longer mergeable because the relevant lines have already been adjusted. |
Makes sense, thanks! |
No description provided.