@tanstack/react-query 4.29.16 → 4.29.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1076,7 +1076,7 @@
|
|
|
1076
1076
|
|
|
1077
1077
|
const fetchFn = () => {
|
|
1078
1078
|
if (!this.options.queryFn) {
|
|
1079
|
-
return Promise.reject(
|
|
1079
|
+
return Promise.reject("Missing queryFn for queryKey '" + this.options.queryHash + "'");
|
|
1080
1080
|
}
|
|
1081
1081
|
|
|
1082
1082
|
this.abortSignalConsumed = false;
|
|
@@ -1799,7 +1799,7 @@
|
|
|
1799
1799
|
}; // Get query function
|
|
1800
1800
|
|
|
1801
1801
|
|
|
1802
|
-
const queryFn = context.options.queryFn || (() => Promise.reject(
|
|
1802
|
+
const queryFn = context.options.queryFn || (() => Promise.reject("Missing queryFn for queryKey '" + context.options.queryHash + "'"));
|
|
1803
1803
|
|
|
1804
1804
|
const buildNewPages = (pages, param, page, previous) => {
|
|
1805
1805
|
newPageParams = previous ? [param, ...newPageParams] : [...newPageParams, param];
|