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

Feature: Custom Sorting #270

Open
shellscape opened this issue Dec 18, 2020 · 1 comment
Open

Feature: Custom Sorting #270

shellscape opened this issue Dec 18, 2020 · 1 comment

Comments

@shellscape
Copy link

While we use standard alphabetic sorting for types, fields, etc we also like to have any id: ID! fields remain at the top. This helps with DX as our databases are structured in much the same way. While I wouldn't suggest pushing our sorting preferences on any other users, it would be handy to be able to specify a custom sorter.

@cjoudrey
Copy link
Owner

Hey @shellscape! Thanks for opening this issue.

I would be open to add support for loading custom sorting functions to solve your issue.

Perhaps we can do something similar to how custom rules work and then anything loaded that way would be a valid value for sortOrder.

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

No branches or pull requests

2 participants