docs: retryLink
guide should mention that user needs to set QueryClient
defaultOptions.retry
to false
#6189
Labels
📚 documentation / examples
Improvements or additions to documentation
Area of Improvement
Right now if user didn't set
QueryClient
defaultOptions.retry
to false,trpc
will automatically fallback to thisretry
property's default value (which is4
) and ignore the return value ofretryLink.retry
function.Either clarifying this in the docs or this is a bug,
trpc
should prioritize retrun value ofretryLink.retry
function overQueryClient
defaultOptions.retry
.Link to related docs
https://trpc.io/docs/client/links/retryLink
Additional information
package.json
:👨👧👦 Contributing
Funding
The text was updated successfully, but these errors were encountered: