Commit 1855328
authored
fix: mermaid complex types (#119)
* fix: match outermost parent type with deeper nested types
Simplifying the regex expression.
Previously from `a<b<c d, e f>>` it would ignore `a` and capture `b`, `c d` and `, e f`.
Now it captures `a` and `b<c d, e f>`, which is disregarded as far as
I can see.
* feat: add test_mermaid_column_types
* Revert "fix: match outermost parent type with deeper nested types"
This reverts commit 3b9d1ee.
* Revert "Revert "fix: match outermost parent type with deeper nested types""
This reverts commit 78d2891.
* chore: formatting1 parent eae4f9b commit 1855328
File tree
2 files changed
+27
-1
lines changed- dbterd/adapters/targets
- tests/unit/adapters/targets/mermaid
2 files changed
+27
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments