Commit 4c7a5bb
fix: add link url to transpiled fields patterns for proper symbol resolution
The url field inside links needs to go through the same transpilation
as dimension sql and mask.sql, so that {dimension_name} references are
properly resolved through the symbol resolver at evaluation time.
Added pattern: /^dimensions\.[_a-zA-Z][_a-zA-Z0-9]*\.links\.[0-9]+\.url$/
Co-authored-by: Pavel Tiunov <pavel.tiunov@gmail.com>1 parent 9cbbd7e commit 4c7a5bb
2 files changed
Lines changed: 2 additions & 1 deletion
File tree
- packages/cubejs-schema-compiler
- src/compiler/transpilers
- test/unit
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments