Commit 83046b2
Philipp Schärer
Added a relationship deletion unit test
To delete a relationship, the corresponding value
is being overriden with None. Eg:
{
'data': {
'type': 'posts',
'relationships': {
'blog': {
'data': None
}
}
}
}1 parent 4bd6bdf commit 83046b2
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
148 | 164 | | |
149 | 165 | | |
150 | 166 | | |
| |||
0 commit comments