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)

authored by

isy and committed by
GitHub
d5164103 9c561f38

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