Commit 2e92772
Fix IsJsonCollectionColumn for nested complex collections inside complex references
was already applied to the owned entity branch. Without this, a nested
ComplexCollection inside a ComplexProperty (reference) would falsely
classify the root JSON column as a collection, producing '[]' instead
of '{}'. Added regression test.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 7cdae14 commit 2e92772
2 files changed
Lines changed: 50 additions & 1 deletion
File tree
- src/EFCore.Relational/Migrations/Internal
- test/EFCore.Relational.Tests/Migrations/Internal
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1288 | 1288 | | |
1289 | 1289 | | |
1290 | 1290 | | |
1291 | | - | |
| 1291 | + | |
| 1292 | + | |
1292 | 1293 | | |
1293 | 1294 | | |
1294 | 1295 | | |
| |||
Lines changed: 48 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10053 | 10053 | | |
10054 | 10054 | | |
10055 | 10055 | | |
| 10056 | + | |
| 10057 | + | |
| 10058 | + | |
| 10059 | + | |
| 10060 | + | |
| 10061 | + | |
| 10062 | + | |
| 10063 | + | |
| 10064 | + | |
| 10065 | + | |
| 10066 | + | |
| 10067 | + | |
| 10068 | + | |
| 10069 | + | |
| 10070 | + | |
| 10071 | + | |
| 10072 | + | |
| 10073 | + | |
| 10074 | + | |
| 10075 | + | |
| 10076 | + | |
| 10077 | + | |
| 10078 | + | |
| 10079 | + | |
| 10080 | + | |
| 10081 | + | |
| 10082 | + | |
| 10083 | + | |
| 10084 | + | |
| 10085 | + | |
| 10086 | + | |
| 10087 | + | |
| 10088 | + | |
| 10089 | + | |
| 10090 | + | |
| 10091 | + | |
| 10092 | + | |
| 10093 | + | |
| 10094 | + | |
| 10095 | + | |
| 10096 | + | |
| 10097 | + | |
| 10098 | + | |
| 10099 | + | |
| 10100 | + | |
| 10101 | + | |
| 10102 | + | |
| 10103 | + | |
10056 | 10104 | | |
10057 | 10105 | | |
10058 | 10106 | | |
| |||
0 commit comments