Replies: 1 comment
-
Checkout the Gatsby docs for how they've specifically implemented sorting: https://www.gatsbyjs.com/docs/graphql-reference/#sort |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 arg
error...Would you have an idea or some documentation about sorting on multiple fields?
Beta Was this translation helpful? Give feedback.
All reactions