How to query some posts and then get all their categories
-
If I run the following query:
query MyQuery { posts(first: 10) { nodes { title categories { nodes { name } } } } }
I only get the first category listed for each post. Is there a way to get all of them?
Thanks for any advice.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to query some posts and then get all their categories’ is closed to new replies.