fix(query-core): infer setQueriesData data type from query filters#10834
fix(query-core): infer setQueriesData data type from query filters#10834raashish1601 wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR introduces a ChangessetQueriesData Type Inference with QueryDataForFilters
🎯 2 (Simple) | ⏱️ ~8 minutes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
Summary
Fix QueryClient.setQueriesData typing so filtered-query overloads infer cached data types from tagged query keys when queryKey is provided in filters.
Changes
InferDataFromTagover QueryFilters.Validation
Summary by CodeRabbit
Tests
setQueriesDatavalidationImprovements
setQueriesDatamethod to provide more accurate data type information based on query filters