You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two things of note - firstly nesting it within the entry interface might be tricky without creating a custom field that is owned by an entry. But it might be possible with a directive.
Secondly, determining the breadcrumbs of an entry really relies on the current URLs segments, which isn't going to be possible in a GraphQL query context (or headless in general). The current implementation will look at each segment in a URL, and if a segment matches the URI of an element, that's used, if not the segment (as a URL) is used.
I can see you're passing in an id param to represent the "current" entry/element for that purpose.
What are you trying to do?
To render breadcrumbs for a given entry it would be great to be able to query for the breadcrumbs.
What's your proposed solution?
Something like this:
Additional context
No response
The text was updated successfully, but these errors were encountered: