Commit 4b498f8
fix: add link url to transpiled fields and fix test references
- Add /^dimensions\.[_a-zA-Z][_a-zA-Z0-9]*\.links\.[0-9]+\.url$/ to
transpiledFieldsPatterns so {dimension_name} references in link url
are resolved through the symbol resolver at evaluation time
- Use {full_name} references in test (same syntax as dimension sql)
Co-authored-by: Pavel Tiunov <pavel.tiunov@gmail.com>1 parent 7ea0558 commit 4b498f8
2 files changed
Lines changed: 3 additions & 2 deletions
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 | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments