Jan Hug

Results 90 comments of Jan Hug

@bgondy I actually have been thinking about extending `useDataCache` to the client-side as well. And indeed your approach with a maxAge that would also apply to the client side is...

Alright, I gave this a shot and added client-side caching. I've used the example from @bgondy as a basis, but changed the behaviour: - It also stores and gets subsequent...

Now available in 3.3.0

Is there something in particular that didn't work for you? I have successfully used this module with layers before, even having different query files per layer.

Ah I see. I will setup a playground that uses layers to try to debug this. What should work is to always reference the fragment imports by their full path....

Both your refactored fragment import and the new "auto inline fragments" feature have been released in 4.1.0: https://nuxt-graphql-middleware.dulnan.net/features/fragments.html#automatic-import I still need to add a "layers playground", so I'll keep this...

Thank you for providing the PR with the fix! I'll do a release soon with the fix.

This sounds reasonable. I will think about how this could be implemented in a good way.

I looked into this and I see one problem: As most requests to the Nuxt GraphQL server route will originate from a Nuxt app context (e.g. page component, plugin), they...

If you install the latest beta using `[email protected]` you will now be able to implement the desired functionality using the new `doGraphqlRequest` option. I've already updated the docs for the...