@malloydata/malloy 0.0.20 → 0.0.21-dev230112005442

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.
@@ -2613,7 +2613,7 @@ class QueryStruct extends QueryNode {
2613
2613
  const pkField = this.getPrimaryKeyField(this.fieldDef);
2614
2614
  const pkType = pkField.fieldDef.type;
2615
2615
  if (pkType !== "string" && pkType !== "number") {
2616
- throw new Error(`Unknown Primary key data type for ${name}`);
2616
+ throw new Error(`Unknown Primary key data type for ${pkField.fieldDef.name}`);
2617
2617
  }
2618
2618
  const aliasName = (0, malloy_types_1.getIdentifier)(this.fieldDef);
2619
2619
  const pkName = this.fieldDef.primaryKey;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy",
3
- "version": "0.0.20",
3
+ "version": "0.0.21-dev230112005442",
4
4
  "license": "GPL-2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",