@ethlete/query 5.32.0 → 5.32.1
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @ethlete/query
|
|
2
2
|
|
|
3
|
+
## 5.32.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a59d9f4`](https://github.com/ethlete-io/ethdk/commit/a59d9f4ed95b5fa6471a69e0052399fddac57153) Thanks [@TomTomB](https://github.com/TomTomB)! - Fix queries with route functions not getting auto executed
|
|
8
|
+
|
|
3
9
|
## 5.32.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -3373,7 +3373,7 @@ const getQueryFeatureUsage = (options) => {
|
|
|
3373
3373
|
: shouldAutoExecuteQuery(options.creatorInternals.method);
|
|
3374
3374
|
const hasRouteFunction = typeof creatorInternals?.route === 'function' ||
|
|
3375
3375
|
typeof creator?.route === 'function';
|
|
3376
|
-
const shouldAutoExecute = shouldAutoExecuteMethod && !queryConfig.onlyManualExecution
|
|
3376
|
+
const shouldAutoExecute = shouldAutoExecuteMethod && !queryConfig.onlyManualExecution;
|
|
3377
3377
|
if (hasRouteFunction && !hasWithArgsFeature && !queryConfig.silenceMissingWithArgsFeatureError) {
|
|
3378
3378
|
throw withArgsQueryFeatureMissingButRouteIsFunction();
|
|
3379
3379
|
}
|