Skip to content

Make query hooks data-first - #109

Merged
KidkArolis merged 3 commits into
masterfrom
codex/data-first-query-hooks
Aug 28, 2026
Merged

Make query hooks data-first#109
KidkArolis merged 3 commits into
masterfrom
codex/data-first-query-hooks

Conversation

@KidkArolis

Copy link
Copy Markdown
Collaborator

Summary

  • make useQuery and useQueries return inferred data directly
  • add useQueryResult and useQueryResults for metadata, pagination controls, and non-Suspense reads
  • migrate the demo, tests, docs, and schema-bound hooks to the split API

Verification

  • npm test: 359 tests passed
  • npx tsc -p demo/tsconfig.json --noEmit

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Cursor Bugbot completed successfully with no findings requiring human review; Cursor Security Agent was not running on this PR. No reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver - High Risk

@KidkArolis
KidkArolis merged commit 961a67d into master Aug 28, 2026
3 checks passed
@KidkArolis
KidkArolis deleted the codex/data-first-query-hooks branch August 28, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant