Replies: 1 comment
|
Checkout the Gatsby docs for how they've specifically implemented sorting: https://www.gatsbyjs.com/docs/graphql-reference/#sort |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello!
I don't understand so well how to sort from multiple fields in graphQL.
This is the syntax suggested by GraphiQL:
sort: {order: ASC, name: ASC}But this generates an
Invalid field argerror...Would you have an idea or some documentation about sorting on multiple fields?
All reactions