Add test for cache write after error with errorPolicy: "all"#13280
Add test for cache write after error with errorPolicy: "all"#13280jerelmiller wants to merge 2 commits into
errorPolicy: "all"#13280Conversation
✅ Docs preview has no changesThe preview was not built because there were no changes. Build ID: 358708a4496f0b666a2f5e08 ✅ AI Style Review — No Changes DetectedNo MDX files were changed in this pull request. Review Log: View detailed log
|
|
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughA single test is added to the ChangesRegression test: errorPolicy "all" cache write reactivity
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
8cafa85 to
b7b42f8
Compare
commit: |
…ue` in options (#13281) Fixes #13280 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * `readQuery` and `readFragment` now correctly respect the `optimistic` option provided in the options object, rather than defaulting to false. * **Tests** * Added test coverage for optimistic read operations. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Closes #13279
Add test demonstrating cache write after error with
errorPolicy: "all".Summary by CodeRabbit