We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be nice to sort on columns maybe even more than 1 if you want it. And would be cool if it was type safe in graphql schema.
sort: { by: [name] type: ASC | DESC }
The text was updated successfully, but these errors were encountered:
By as an ENUM with all low level available keys of object
Sorry, something went wrong.
graphql/graphql-relay-js#20
This would support all use-cases in a type-safe way :)
input UserOrdering { sort: UserSort! direction: SortDirection! = ASC } enum SortDirection { ASC, DESC } enum UserSort { FIRST_NAME, LAST_NAME }
{ users(orderBy: [{sort: FIRST_NAME}, {sort: LAST_NAME}]) }
Add sort #27
38f28d7
Released in v3.0.0
RichardLindhout
No branches or pull requests
It would be nice to sort on columns maybe even more than 1 if you want it. And would be cool if it was type safe in graphql schema.
sort: {
by: [name]
type: ASC | DESC
}
The text was updated successfully, but these errors were encountered: