Skip to content

Conversation

markerikson
Copy link
Collaborator

@markerikson markerikson commented Oct 22, 2025

This PR:

  • Updates retry to also respect the maxRetries values when catching unexpected errors
  • Adds tests for graphqlRequestBaseQuery
  • Updates graphqlRequestBaseQuery to return an unknown error instead of throwing it, to match proper base query behavior

Fixes #4079

@codesandbox
Copy link

codesandbox bot commented Oct 22, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@netlify
Copy link

netlify bot commented Oct 22, 2025

Deploy Preview for redux-starter-kit-docs ready!

Name Link
🔨 Latest commit d70646b
🔍 Latest deploy log https://app.netlify.com/projects/redux-starter-kit-docs/deploys/68f83c549da39c00083ec824
😎 Deploy Preview https://deploy-preview-5113--redux-starter-kit-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

size-limit report 📦

Path Size
1. entry point: @reduxjs/toolkit/query (cjs, production.min.cjs) 24.4 KB (-0.07% 🔽)
1. entry point: @reduxjs/toolkit/query/react (cjs, production.min.cjs) 26.73 KB (+0.25% 🔺)
2. entry point: @reduxjs/toolkit/query (without dependencies) (cjs, production.min.cjs) 11.01 KB (+0.13% 🔺)

@markerikson markerikson merged commit 1b95037 into master Oct 22, 2025
119 of 120 checks passed
@aryaemami59 aryaemami59 deleted the bugfix/4079-retry-handling branch October 22, 2025 03:23
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit d70646b:

Sandbox Source
@examples-query-react/basic Configuration
@examples-query-react/advanced Configuration
@examples-action-listener/counter Configuration
rtk-esm-cra Configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

retry is not working as expected

1 participant