From 91d6fb540ff88719ea21c8c3e9bd4f17f7a1e410 Mon Sep 17 00:00:00 2001 From: hero Date: Thu, 10 Sep 2020 22:28:06 +0900 Subject: [PATCH] fix: Initialize query on updateObservableQuery even if skip is true --- src/react/data/QueryData.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/react/data/QueryData.ts b/src/react/data/QueryData.ts index 90a24363f1c..78a6d577b50 100644 --- a/src/react/data/QueryData.ts +++ b/src/react/data/QueryData.ts @@ -227,14 +227,14 @@ export class QueryData extends OperationData { } private updateObservableQuery() { - if (this.getOptions().skip) return; - // If we skipped initially, we may not have yet created the observable if (!this.currentObservable) { this.initializeObservableQuery(); return; } + if (this.getOptions().skip) return; + const newObservableQueryOptions = { ...this.prepareObservableQueryOptions(), children: null