Skip to content
New issue

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

Retry should handle when an exception is rethrown from a dependency #3635

Open
rrousselGit opened this issue Jun 27, 2024 · 0 comments
Open
Labels
enhancement New feature or request
Milestone

Comments

@rrousselGit
Copy link
Owner

If a provider A watches a failing provider B and rethrows its error, we shouldn't retry A.
Instead, if B has retry enabled, when B fixes its error, A will automatically refresh.

We could do so by detecting if an exception+stacktrace thrown by A is identical to that of one of its dependency.

@rrousselGit rrousselGit added the enhancement New feature or request label Jun 27, 2024
@rrousselGit rrousselGit added this to the Riverpod 3.0 milestone Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant