Commit 3f4bb72
committed
fix(codegen): use repr() for list items in examples
str() on string list items renders as [a, b], indistinguishable from
bare identifiers. repr() renders as ['a', 'b'] so strings are
visually distinct from numbers.1 parent 14e6ac7 commit 3f4bb72
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- packages/overture-schema-codegen
- src/overture/schema/codegen
- tests
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
996 | 996 | | |
997 | 997 | | |
998 | 998 | | |
999 | | - | |
| 999 | + | |
1000 | 1000 | | |
1001 | 1001 | | |
1002 | 1002 | | |
| |||
0 commit comments