Closed SebbeJohansson closed 1 year ago
This idea was born from the issues we are having in a nuxt2 project. See part of that discussion here: https://github.com/storyblok/storyblok-js-client/issues/554
@SebbeJohansson This will be converted into a Feature Request. Thank you for your help, sir.
Thanks for listening!
Thank you for helping us with your time and suggestions.
It would be very helpful for a various number of usecases to allow for the js client to use a custom fetch function that is provided into the client
Expected Behavior
I expect the js client to allow for an option that is a custom fetch function that the user creates and provides into it.
Psuedo example:
Current Behavior
Right now, nothing like that exists, which means that for use cases that require a specific fetch function or a wrapper over the native fetch function, there is no solution.
Use cases
Alternative solutions
Original discussion on discord: https://discord.com/channels/700316478792138842/1110132991268753428/1112802240424583320