nuxt-modules / apollo

Nuxt.js module to use Vue-Apollo. The Apollo integration for GraphQL.
https://apollo.nuxtjs.org
MIT License
955 stars 198 forks source link

fetchMore function missing in useAsyncQuery #621

Open chrispreisler opened 6 months ago

chrispreisler commented 6 months ago

Environment

Operating System: Darwin

Describe the bug

Hey guys,

thanks for this great plugin.

I am not sure, if it is a bug or the feature is missing. Right now it seems to be not possible to use the fetchMore function with useAsyncQuery.

Expected behaviour

But isn't that a common case, when you have a product overview and would like to fetch more products, when the user scrolls down for example or just want to load all products, but the limit for a call is 100 products for example.

Thanks for your answer in advaance.

Best regards Chris

Reproduction

No response

Additional context

No response

Logs

No response

develth commented 1 week ago

Any idea on how to achieve that? Currently i do merge the data myself by working with the refresh method & page change, but would be great if its done because it is "there".

Thanks!