Closed DMouayad closed 1 month ago
I'm sorry but it seems I didn't notice that changes weren't published. After publishing, all working as expected and I'm receiving the correct data responseš„.
It would be handy if we could use resolve_links when using useStoryblok(). Even if it doesn't work for live previews but worked when a page is rendered.
It would be handy if we could use resolve_links when using useStoryblok(). Even if it doesn't work for live previews but worked when a page is rendered.
@mediabeastnz I've yet to try if it works in live preview, it probably won't but for my use-case it won't be an issue,
BUT both resolve_links
and resolve_relations
are working for me with storyblokApi.get()
in SSG.
Expected Behavior
I'm trying to find a way to have a text field that we can assign to it a link (the actual path - slug ) to a Story. After looking for a solution, I found there's a way to do this with a Link field and "resolve_links" option to get desired info (mainly the url - ful slug).
Current Behavior
Now the docs mentions this:
which is understandable but it also mentions the following:
MY QUESTION is: Will we be able to use resolve_links or resolve_relations if it was provided in the bridge options?? I've already tried it but it didn't work.
what i tired:
storyblok({ bridge: { resolveLinks: "url" }, .... })
Thanks for ur amazing work & any help is much appreciated.