Skip to content

Conversation

@bviebahn
Copy link
Contributor

Fixes #718

@vercel
Copy link

vercel bot commented Jul 11, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tannerlinsley/react-query/m1jzavuwm
✅ Preview: https://react-query-git-fork-bene8493-master.tannerlinsley.vercel.app

@SinanBaymammadli
Copy link

SinanBaymammadli commented Jul 13, 2020

Wouldn't it be better to also add TResult = unknown to ReactQueryProviderConfig instead of just unknown?

@bviebahn
Copy link
Contributor Author

Wouldn't it be better to also add TResult = unknown to ReactQueryProviderConfig instead of just unknown?

I think since there are usually multiple queries and mutations using a single config, unknown is ok.

@tannerlinsley tannerlinsley merged commit 67394db into TanStack:master Jul 15, 2020
@tannerlinsley
Copy link
Member

🎉 This PR is included in version 2.4.18 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Types] ReactQueryProviderConfig doesn't pass provided error type to onError callback

3 participants