Commit 91d98be
Fix ToMarkdownTable to show raw values instead of record type names
C# record types auto-generate ToString() showing 'Text { IsNull = False, Value = 1 }'
which overrides the base SqlValue.ToString(). Use AsString() ?? "NULL" instead
so markdown output shows clean values like '1', 'true', 'NULL'.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent ae533c7 commit 91d98be
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | | - | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
0 commit comments