mirror of
https://github.com/vuejs/apollo.git
synced 2025-12-08 18:02:09 +00:00
fix(composable): Remove immediate result logic (#1388)
This commit is contained in:
parent
6c07a47d33
commit
fc983077dc
@ -228,14 +228,6 @@ export function useQueryImpl<
|
||||
|
||||
startQuerySubscription()
|
||||
|
||||
if (!isServer && (currentOptions.value?.fetchPolicy !== 'no-cache' || currentOptions.value.notifyOnNetworkStatusChange)) {
|
||||
const currentResult = query.value.getCurrentResult()
|
||||
|
||||
if (!currentResult.loading || currentResult.partial || currentOptions.value?.notifyOnNetworkStatusChange) {
|
||||
onNextResult(currentResult)
|
||||
}
|
||||
}
|
||||
|
||||
if (!isServer) {
|
||||
for (const item of subscribeToMoreItems) {
|
||||
addSubscribeToMore(item)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user