Jan Hug
Jan Hug
So there‘s quite a few approaches here and they all depend on what exactly needs to be cached. If you only want to cache the response of the GraphQL middleware...
Sorry it took a bit longer, but thanks a lot for your examples! I have added a first (simplified) example on how to do simple server-side caching using `doGraphqlRequest`. I...
Interesting idea. I‘m always using it inside useAsyncData in page components. In plugins or middlewares I mostly don‘t catch the errors on purpose and handle them globally. But that‘s just...
Looking into it now. What would be a good way to catch the errors and provide them in the return value? `data` and `errors` are both connected to the specific...
But thanks to your input I realized that the return type is not correct: It's missing the `errors` property!
This is now available in the latest release as [`useAsyncGraphqlQuery`](https://nuxt-graphql-middleware.dulnan.net/composables/useAsyncGraphqlQuery.html)
Ah, this is something that's completely missing from the docs I just realised. Sorry for that! What you need is to have a single HTML element somewhere in your app...
Yes, absolutely! The editor itself is agnostic of any backend. It uses an "adapter" to implement "communication" with a backend. In fact, you could even use blökkli without a backend...
When downloadSchema is enabled, the module will download it initially on module init. During dev mode however, the schema doesn't get automatically updated. Only if any of your GraphQL documents...
I can definitely provide a new method on the object returned by `useGraphqlModuleContext()` to force download the schema and rebuild the state. This would give full flexibility to handle this....