Skip to content

How to get ancestors of an entry by slug in graphQL? #8013

Answered by brandonkelly
ctigelaar asked this question in Q&A
Discussion options

You must be logged in to vote

We’ve actually just added the ability to fetch entries’ ancestors for Craft 3.7.

To get on the 3.7 branch, change your craftcms/cms requirement in composer.json to "3.7.x-dev as 3.7.0-alpha" and run composer update.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ctigelaar
Comment options

Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants