Commit bbcfea6
committed
fix: add an infinite recursion guard to the post model validator
The unsetting of fields leads to a retrigger of the model validation,
where the sync logic ends up in an infinite recursion. Add a flag so
that it runs only once and prevents reentry.1 parent de9927d commit bbcfea6
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
194 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
195 | 200 | | |
196 | 201 | | |
197 | 202 | | |
| |||
0 commit comments