-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(query-core): handle errors that occur inside
setData
method (#7966
) * fix(query-core): add test case for not serializable data * fix(query-core): handle `setData` error * Update packages/query-core/src/__tests__/query.test.tsx * fix(query-core): add `return` statement * fix(query-core): throw the error in case when data is not serializable for non production env * fix(query-core): delete packages/query-core/tsconfig.vitest-temp.json * fix(query-core): lift serializability check and add console.error * chore: message --------- Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
- Loading branch information
Showing
3 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters