Ideas

Give us your best ideas!

Get all descendants for a page in Storefront API

Today we can get children for a specific page, but to build some kind of navigation in a sidebar we have to make a very weird nested children query.

It would therefore be nice to add the ability to get all descendants of a page, with maybe a depth limit. Might be hard to do in graphql but there could maybe be a way to do this a little better than to manually enter each depth we want to have. For example my pages and article page could need this kind of functionality

  • Christian Norrman
  • Oct 14 2024
  • Planned
  • Attach files