Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: TanStack/query/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (21)
Included review availability: Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughThe pull request updates Solid Query JSDoc and reference documentation. It clarifies that ChangesSolid Query documentation alignment
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Other Possibly related PRs
Suggested reviewers: Merge Risk: ⚪ Minimal · up to This update clarifies the documented select exception for undefined data and refreshes source links without changing library behavior. No merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
|
View your CI Pipeline Execution ↗ for commit d09e283
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
🎯 Changes
DefinedInitialDataOptions,DefinedInitialDataInfiniteOptions,DefinedUseBaseQueryResult,DefinedUseQueryResult,DefinedUseInfiniteQueryResult, and thequeryOptions/useQueryoverloads selected wheninitialDatais set all stated thatdatais "neverundefined" without qualification. This is only true when noselectis used — aselectcan changeTDatato a type that includesundefined. Added the(unless a select changes TData to include undefined)qualifier inqueryOptions.ts(2 spots),infiniteQueryOptions.ts,useQuery.ts, andtypes.ts(3 spots).Companion PRs for the same pattern: #11574 (
@tanstack/react-query/@tanstack/preact-query), #11575 (@tanstack/vue-query).solid-query'suseQueries(theQueriesOptionsarray type) doesn't carry the equivalent user-facing JSDoc that react/preact had (it only has an internal implementation comment), so that half of the pattern doesn't apply here either, same as vue.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit
undefineddata unless aselectfunction changes the result type to includeundefined.