Open
Description
Describe the bug
Using the prefetch
or enabled
options in useQuery
on the server causes endless loading.
To Reproduce
Steps to reproduce the behavior:
- Use SSR
- Add option
prefetch
orenabled
- Watch endless loading
Expected behavior
Disabling the request before the client waits for the necessary data.
Versions
vue: 2.6.11
vue-apollo: 3.0.3
apollo-client: 2.6.8
@vue/composition-api: 0.5.0
@vue/apollo-composable: 4.0.0-alpha.7
Additional context
The problem is related to not resolved promise in onServerPrefetch
.