Skip to content

Commit e755a5c

Browse files
committed
fix proxying items, referenced from different cubes/views
1 parent b1e7266 commit e755a5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cubejs-schema-compiler/src/compiler/CubeSymbols.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ export class CubeSymbols {
548548
if (refProperty) {
549549
return () => this.withSymbolsCallContext(
550550
() => sqlResolveFn(cube[refProperty], cubeName, refProperty),
551-
{ ...this.resolveSymbolsCallContext }
551+
{ ...this.resolveSymbolsCallContext, joinHints }
552552
);
553553
}
554554

@@ -582,7 +582,7 @@ export class CubeSymbols {
582582
};
583583
}
584584
if (cube[propertyName]) {
585-
return this.cubeReferenceProxy(cubeName, undefined, propertyName);
585+
return this.cubeReferenceProxy(cubeName, joinHints, propertyName);
586586
}
587587
if (self.symbols[propertyName]) {
588588
return this.cubeReferenceProxy(propertyName, joinHints);

0 commit comments

Comments
 (0)