ballerina-core 1.0.142 → 1.0.143

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "ballerina-core",
3
3
  "author": "Dr. Giuseppe Maggiore",
4
4
  "private": false,
5
- "version": "1.0.142",
5
+ "version": "1.0.143",
6
6
  "main": "main.ts",
7
7
  "scripts": {
8
8
  "prettier": "prettier --write ."
@@ -280,6 +280,7 @@ export const TableLayout = {
280
280
  columns: visibleColumns.columns,
281
281
  });
282
282
  }
283
+ console.debug(`Computing visible columns`, visibleColumns.columns);
283
284
  return Expr.Operations.Evaluate(bindings)(visibleColumns.columns).Then(
284
285
  (result) => {
285
286
  if (!PredicateValue.Operations.IsRecord(result)) {
@@ -287,6 +288,7 @@ export const TableLayout = {
287
288
  `Invalid visible columns: ${JSON.stringify(result)}`,
288
289
  );
289
290
  }
291
+ console.debug(`Computed visible columns ${JSON.stringify(Array.from(result.fields.keys()))}`, result);
290
292
  return ValueOrErrors.Default.return({
291
293
  columns: Array.from(result.fields.keys()),
292
294
  });
@@ -100,7 +100,7 @@ export const PredicateValueExtractor = {
100
100
  : traverseSingleSelection(v.value);
101
101
  }
102
102
  case "multiSelection": {
103
- // multi selection only has 1 arg type, which is the same for all the selcted elements
103
+ // multi selection only has 1 arg type, which is the same for all the selected elements
104
104
  const traverseMultiSelectionField = self(
105
105
  lookupName,
106
106
  typesMap,