Commit fdaec6c
Fix: Add GetDataReaderMethod override to MySqlComplexJsonTypeMapping
The MySqlComplexJsonTypeMapping was missing the GetDataReaderMethod() override,
causing it to use the default behavior which led to SQL syntax errors.
Added the override to return GetString for reading JSON as strings from MySQL.
Also made _getString protected so it can be accessed by derived classes.
Fixes SQL syntax error in ComplexJsonProjectionMySqlTest.
Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>1 parent c5d7693 commit fdaec6c
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
57 | 64 | | |
58 | 65 | | |
59 | 66 | | |
| |||
127 | 134 | | |
128 | 135 | | |
129 | 136 | | |
130 | | - | |
| 137 | + | |
131 | 138 | | |
132 | 139 | | |
133 | 140 | | |
| |||
0 commit comments