@meshmakers/octo-meshboard 3.4.170 → 3.4.180
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.
|
@@ -2907,10 +2907,16 @@ class QueryExecutorService {
|
|
|
2907
2907
|
}));
|
|
2908
2908
|
}
|
|
2909
2909
|
buildStreamDataArg(args) {
|
|
2910
|
+
// Skip the entire `arg` field when the caller has nothing to override —
|
|
2911
|
+
// the persisted query then runs with its intrinsic from/to/limit and the
|
|
2912
|
+
// GraphQL request stays minimal.
|
|
2910
2913
|
const hasOverride = args.from != null || args.to != null || args.interval != null || args.limit != null || args.queryMode != null;
|
|
2911
2914
|
if (!hasOverride) {
|
|
2912
2915
|
return undefined;
|
|
2913
2916
|
}
|
|
2917
|
+
// `queryMode` defaults to Default because the schema requires it. The
|
|
2918
|
+
// backend dispatcher ignores it (variant comes from the persisted entity's
|
|
2919
|
+
// CK subtype); see the type-level doc comment for the full story.
|
|
2914
2920
|
return {
|
|
2915
2921
|
from: args.from ?? undefined,
|
|
2916
2922
|
to: args.to ?? undefined,
|