We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The request does not complete if the contract is invalid and there is a retry with a filter
export const query = createJsonMutation({ name: 'demo', params: declareParams<string | null>(), request: { method: 'POST', url: $apiUrl, body: { source: $context, fn: (params, context) => ({ context, action: params ?? {}, }), }, headers: $headers, }, response: { contract: runtypeContract(String), status: { expected: [200, 204] }, }, }); retry(query, { times: 3, delay: linearDelay(500), filter: isNetworkError, });
But if you delete the filter or add supressIntermediateErrors: false the problem will be solved
supressIntermediateErrors: false
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The request does not complete if the contract is invalid and there is a retry with a filter
But if you delete the filter or add
supressIntermediateErrors: false
the problem will be solvedThe text was updated successfully, but these errors were encountered: