Skip to content

Commit 739367b

Browse files
authored
fix(schema-compiler): Handle null Values in Security Context (cube-js#3868) Thanks @joealden !
1 parent 8852424 commit 739367b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-schema-compiler/src/adapter/BaseQuery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2396,7 +2396,7 @@ export class BaseQuery {
23962396
unsafeValue: () => paramValue
23972397
});
23982398
return methods(target)[name] ||
2399-
typeof propValue === 'object' && this.contextSymbolsProxy(propValue) ||
2399+
typeof propValue === 'object' && propValue !== null && this.contextSymbolsProxy(propValue) ||
24002400
methods(propValue);
24012401
}
24022402
});

0 commit comments

Comments
 (0)