Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.

Add hasNext to urql-next query-state (#3707)

isy d5164103 9c561f38

Changed files
+7
.changeset
packages
next-urql
+5
.changeset/tiny-tigers-lick.md
···
+
---
+
'@urql/next': patch
+
---
+
+
Add type for hasNext to the query-state in urql-next
+2
packages/next-urql/src/useQuery.ts
···
data?: Data;
/** The {@link OperationResult.error} for the executed query. */
error?: CombinedError;
+
/** The {@link OperationResult.hasNext} for the executed query. */
+
hasNext: boolean;
/** The {@link OperationResult.extensions} for the executed query. */
extensions?: Record<string, any>;
/** The {@link Operation} that the current state is for.