docs(solid-query/useQuery): document 'throwOnError' default value and its exceptions - #11170
docs(solid-query/useQuery): document 'throwOnError' default value and its exceptions#11170sukvvon wants to merge 2 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe Solid ChangesSolid
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ 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 |
|
View your CI Pipeline Execution ↗ for commit fc2210a
☁️ 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. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/framework/solid/reference/useQuery.md`:
- Around line 293-295: Update the throwOnError option documentation to qualify
the false default: state that it applies when suspense is disabled in client
usage, and document the SSR and suspense-enabled exceptions reflected by
useBaseQuery and QueryClient behavior.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: e55daf65-f81d-465c-8b96-1df12a8c64a9
📒 Files selected for processing (1)
docs/framework/solid/reference/useQuery.md
size-limit report 📦
|
… 'throwOnError' default
Summary
Optional/Defaults tofalse`` to thethrowOnErroroption, matching the documentation pattern used by other options (`refetchOnMount`, `refetchOnWindowFocus`)trueduring SSR, andtruewhen the deprecatedsuspenseoption is set totrue