Gustutu
Gustutu
Hello i helped @aelghozi solve the problem **"in real life"**, the problem was caused by a different version of the controler and of the firmware. The difference is in the...
Thanks, i'll try that.
I 'm not sure to understand everything, It seems to work but about the following section : https://tanstack.com/query/v4/docs/svelte/ssr#using-prefetchquery, it advice to use the prefetchQuery is it possible to do is...
Ok i think i finally understood, orval generate basic function to make api call and also generate way to use the query from tanstack. And you can choose wich one...
I am reopening this because i have troubles using sveltekit with orval. When following this tutorial : https://tanstack.com/query/v4/docs/svelte/ssr#using-prefetchquery . I have error specialy ` Error: Function called outside component initialization`...
Nice, it works! Thank you for the amazing work 🙏. It works well, but if I am not mistaken, the integration with SvelteKit is not perfect in my case. SvelteKit...
I will check if there is a clean way to do it without modifying Orval first :) .
No success in my trials. I will make a demo. I am not sure but i feel that not using the fetch function given in the load function block sveltekit...
@georgiev-anton I made a simple demo project with sveltekit and orval if you want to take a look :) . https://github.com/Gustutu/demo-orval-sveltekit-ssr
Seems like it is a known limitation of sveltekit that may be solved someday : :https://github.com/sveltejs/kit/discussions/9033#discussioncomment-7785105 Current solution seems to be passing fetch as argument.