Skip to content

refactor(app): centralize sync query options#25941

Draft
Hona wants to merge 2 commits intoanomalyco:devfrom
Hona:refactor/query-options
Draft

refactor(app): centralize sync query options#25941
Hona wants to merge 2 commits intoanomalyco:devfrom
Hona:refactor/query-options

Conversation

@Hona
Copy link
Copy Markdown
Member

@Hona Hona commented May 6, 2026

Summary

  • add useQueryOptions() so app components request sync query options without choosing global vs directory SDKs directly
  • keep global-vs-directory SDK selection centralized on the existing global sync SDK cache
  • route key-only consumers through queryOptions.keys instead of importing individual key helpers

Testing

  • bun typecheck from packages/app
  • bun --conditions=browser -e "<paused providers query repro>"
  • pre-push bun turbo typecheck

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