Skip to content

fix(prefetchQuery): Throw error when throwOnError is set#310

Merged
tannerlinsley merged 2 commits intoTanStack:masterfrom
kamranayub:bug/prefetch-throwonerror
Apr 3, 2020
Merged

fix(prefetchQuery): Throw error when throwOnError is set#310
tannerlinsley merged 2 commits intoTanStack:masterfrom
kamranayub:bug/prefetch-throwonerror

Conversation

@kamranayub
Copy link
Contributor

@kamranayub kamranayub commented Apr 3, 2020

Fixes #309

The previous test added for #167 still passes, so I would assume this is safe.

Changes

@kamranayub kamranayub marked this pull request as ready for review April 3, 2020 19:22
@tannerlinsley
Copy link
Member

Nice Catch!

@tannerlinsley tannerlinsley merged commit df536e8 into TanStack:master Apr 3, 2020
@kamranayub kamranayub deleted the bug/prefetch-throwonerror branch April 3, 2020 20:18
@nx-cloud
Copy link

nx-cloud bot commented Apr 5, 2025

View your CI Pipeline Execution ↗ for commit e6b05d7

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded <1s View ↗
nx run-many --target=build --exclude=examples/*... ✅ Succeeded 2s View ↗

☁️ Nx Cloud last updated this comment at 2025-11-23 14:02:02 UTC

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.

bug: prefetchQuery does not throw error when throwOnError is true

2 participants

Comments