Skip to content
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

Swap sortKeys bool for keySort function #315

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kevboh
Copy link

@kevboh kevboh commented Apr 5, 2021

(This is a breaking change, but I can make it non-breaking if preferred. It's just a lot more code repetition if non-breaking.)

This changes the sortKeys option to be a more flexible keySort function. The function defaults to nil—do not sort—but can be anything that sorts Nodes. I ran into an issue where I wanted a custom sort on a mapping.

@jpsim
Copy link
Owner

jpsim commented Apr 7, 2021

Thanks for the PR! Could you please rebase your commits on top of main? That should fix the failing CMake CI jobs.

@kevboh kevboh force-pushed the feat-add-sort-key-function branch from 19933d7 to 8c97204 Compare April 11, 2021 11:26
@kevboh
Copy link
Author

kevboh commented Apr 11, 2021

@jpsim this has been rebased. Thanks for taking a look!

@kevboh
Copy link
Author

kevboh commented Apr 17, 2021

@jpsim let me know if anything else is required here.

@kevboh
Copy link
Author

kevboh commented Jun 20, 2021

Hi, is this still mergeable? If so I'd love to merge it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants