Commit c9b7cfc
Fix: Check JsonTypePlaceholder BEFORE store type lookups
Moved the JsonTypePlaceholder check to the very beginning of FindRawMapping,
before any store type lookups. This matches SQL Server's implementation and
ensures the structural JSON type mapping is returned correctly.
The previous placement after store type lookups was causing EF Core to find
regular JSON mappings first, leading to SQL generation issues with empty
columns in SELECT statements.
Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>1 parent 85a75a0 commit c9b7cfc
1 file changed
Lines changed: 9 additions & 8 deletions
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
315 | 324 | | |
316 | 325 | | |
317 | 326 | | |
| |||
323 | 332 | | |
324 | 333 | | |
325 | 334 | | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | 335 | | |
335 | 336 | | |
336 | 337 | | |
| |||
0 commit comments