semanticdb-core 1.1.49 → 1.1.50
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.
|
@@ -157,7 +157,7 @@ const explainNegatedComparedValue = (key, value, schemas) => {
|
|
|
157
157
|
}
|
|
158
158
|
const [operator, operatorValue] = entries[0];
|
|
159
159
|
if (operator === '$eq') {
|
|
160
|
-
return `${key}
|
|
160
|
+
return `${key} 不等于 ${stringifyExplainValue(operatorValue, schemas)}`;
|
|
161
161
|
}
|
|
162
162
|
if (operator === '$gt') {
|
|
163
163
|
return `${key} <= ${stringifyExplainValue(operatorValue, schemas)}`;
|
|
@@ -199,7 +199,7 @@ const explainComparedValue = (key, value, schemas) => {
|
|
|
199
199
|
if (isCompareOperatorObject(operatorValue)) {
|
|
200
200
|
return explainNegatedComparedValue(key, operatorValue, schemas);
|
|
201
201
|
}
|
|
202
|
-
return `${key}
|
|
202
|
+
return `${key} 不等于 ${stringifyExplainValue(operatorValue, schemas)}`;
|
|
203
203
|
}
|
|
204
204
|
return explainSingleComparedValue(key, operator, operatorValue, schemas);
|
|
205
205
|
});
|