storyblok
storyblok copied to clipboard
Add the `breadcrumbs` variable from the Management API to the GraphQL API
The feature would affect: (check one with "x")
- [ ] app.storyblok.com (CMS - Interface)
- [ ] api.storyblok.com (CMS - Content Delivery API)
- [ ] mapi.storyblok.com (CMS - Management API)
- [ ] capi.storyblok.com (Commerce - API)
- [ ] Commerce - Interface
- [x] Other
Our website currently generates the breadcrumbs via the slug of the page. We currently have to do this by separating the slug as we get no other useful information from the API. We use the GraphQL API and the breadcrumbs are only available in the Management API.
The problem with this system is the capitalisation. Since the slug doesn't have any capitalisation, we have to capitalise it programatically. This creates issue with company names (eg. iO), tools (eg. WordPress) or other words that have a capitalisation in the middle of the word.
My request is for the breadcrumb
variable that is given in the Management API to be added to the GraphQL API. This solves the issues we have, as that variable contains the name of the page with capitals.