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

error in useResolveResource is not propagated in useReadResource #109

Open
remidewitte opened this issue Oct 13, 2023 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@remidewitte
Copy link

When resourceLike is a FollowPromiseOne that throws because rel does not exists, useReadResource stays with loading = true and resource = null instead of being in error state.

@evert evert added the bug Something isn't working label Oct 15, 2023
@evert evert self-assigned this Oct 15, 2023
@evert
Copy link
Contributor

evert commented Oct 15, 2023

Seems reasonable!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants