@malloydata/malloy 0.0.188-dev240923145123 → 0.0.188-dev240924155145
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.
|
@@ -3316,12 +3316,12 @@ class QueryStruct extends QueryNode {
|
|
|
3316
3316
|
}
|
|
3317
3317
|
getQueryFieldReference(name, refAnnoatation) {
|
|
3318
3318
|
const field = this.getQueryFieldByName(name);
|
|
3319
|
-
if (refAnnoatation
|
|
3319
|
+
if (refAnnoatation) {
|
|
3320
3320
|
// Made the field object from the source, but the annotations were computed by the compiler
|
|
3321
3321
|
// and have noth the source and reference annotations included, use those.
|
|
3322
3322
|
const newDef = { ...field.fieldDef };
|
|
3323
3323
|
newDef.annotation = refAnnoatation;
|
|
3324
|
-
|
|
3324
|
+
field.fieldDef = newDef;
|
|
3325
3325
|
}
|
|
3326
3326
|
return field;
|
|
3327
3327
|
}
|