@comunica/actor-init-query 2.0.3 → 2.0.6
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/lib/QueryEngineBase.js +2 -0
- package/package.json +2 -2
package/lib/QueryEngineBase.js
CHANGED
|
@@ -120,6 +120,8 @@ class QueryEngineBase {
|
|
|
120
120
|
// Apply initial bindings in context
|
|
121
121
|
if (actionContext.has(context_entries_1.KeysInitQuery.initialBindings)) {
|
|
122
122
|
operation = (0, bus_query_operation_1.materializeOperation)(operation, actionContext.get(context_entries_1.KeysInitQuery.initialBindings));
|
|
123
|
+
// Delete the query string from the context, since our initial query might have changed
|
|
124
|
+
actionContext = actionContext.delete(context_entries_1.KeysInitQuery.queryString);
|
|
123
125
|
}
|
|
124
126
|
// Optimize the query operation
|
|
125
127
|
const mediatorResult = await this.actorInitQuery.mediatorOptimizeQueryOperation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/actor-init-query",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"description": "A query init actor",
|
|
5
5
|
"lsd:module": true,
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"browser": {
|
|
65
65
|
"./lib/index.js": "./lib/index-browser.js"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "47e3f83aa3cc3872796d44d36354e36b99520d6a"
|
|
68
68
|
}
|