theprogrammablemind 7.5.0-beta.45 → 7.5.0-beta.46
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/client.js +5 -1
- package/package.json +1 -1
package/client.js
CHANGED
@@ -1059,7 +1059,6 @@ const build = async ({ config, target, template, errorHandler = defaultErrorHand
|
|
1059
1059
|
if (typeof queryOrExtraConfig === 'string') {
|
1060
1060
|
query = { query }
|
1061
1061
|
}
|
1062
|
-
console.log('query', query.query)
|
1063
1062
|
config.config.skipSemantics = skipSemantics
|
1064
1063
|
const transitoryMode = global.transitoryMode
|
1065
1064
|
if (property == 'fragments') {
|
@@ -1083,6 +1082,11 @@ const build = async ({ config, target, template, errorHandler = defaultErrorHand
|
|
1083
1082
|
// TODO pass in the error handler like the other ones
|
1084
1083
|
defaultInnerProcess(config, defaultErrorHandler, results)
|
1085
1084
|
}
|
1085
|
+
if (results.contexts.length > 1) {
|
1086
|
+
console.log(`query ${query.query}. There is ${results.contexts.length} contexts in the results. Make sure its producing the results that you expect.`)
|
1087
|
+
} else {
|
1088
|
+
console.log(`query ${query.query}`)
|
1089
|
+
}
|
1086
1090
|
global.transitoryMode = transitoryMode
|
1087
1091
|
config.config.skipSemantics = null
|
1088
1092
|
results.query = query.query
|