We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2d7dbf commit 4e0b112Copy full SHA for 4e0b112
packages/cubejs-schema-compiler/src/compiler/CubeSymbols.ts
@@ -188,7 +188,12 @@ export const CONTEXT_SYMBOLS = {
188
securityContext: 'securityContext',
189
FILTER_PARAMS: 'filterParams',
190
FILTER_GROUP: 'filterGroup',
191
- SQL_UTILS: 'sqlUtils'
+ SQL_UTILS: 'sqlUtils',
192
+ // This is syntax sugar for `securityContext.cubeCloud.userAttributes`
193
+ // while resolveSymbol won't return the exact path from securityContext
194
+ // it's not a problem, because this is only needed for the transpilation phase
195
+ // and then this shorthand will be transpiled with the full path
196
+ userAttributes: 'securityContext.cubeCloud.userAttributes'
197
};
198
199
export const CURRENT_CUBE_CONSTANTS = ['CUBE', 'TABLE'];
0 commit comments