refactor RunQueryCtx to QueryCtx using Pick#284
Conversation
Replace RunQueryCtx/RunMutationCtx/RunActionCtx with Pick-based types that express the full ctx compatibility: QueryCtx | MutationCtx | ActionCtx for read operations, MutationCtx | ActionCtx for write operations, and ActionCtx for action-only operations.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: get-convex/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughIn Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
commit: |

Renames the internal
RunQueryCtxtype toQueryCtxand updates its definition to usePickinstead of a manually declared interface, aligning it with idiomatic TypeScript patterns for extracting a subset of an existing type.