Skip to content

Commit 52ef146

Browse files
committed
feat(schema-compiler): Allow access raw data in USER_CONTEXT using unsafeValue() method
1 parent 5f42893 commit 52ef146

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,8 @@ class BaseQuery {
13641364
throw new UserError(`Filter for ${column} is required`);
13651365
}
13661366
return methods.filter(column);
1367-
}
1367+
},
1368+
unsafeValue: () => paramValue
13681369
});
13691370
return methods(target)[name] ||
13701371
typeof propValue === 'object' && this.contextSymbolsProxy(propValue) ||

0 commit comments

Comments
 (0)