Skip to content

Commit 32599de

Browse files
committed
Use this.hasNext instead
1 parent 679a044 commit 32599de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/QueryInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ export class QueryInfo<
331331
// Use the diff result if the query is still an in-flight
332332
// incremental query so that parsed custom scalar values
333333
// in diff.result are returned.
334-
(this.incremental?.hasNext && diff.result !== null)
334+
(this.hasNext && diff.result !== null)
335335
) {
336336
result = { ...result, data: diff.result as TData };
337337
}

0 commit comments

Comments
 (0)