Commit 696aa07
Add backend validation check for discrete question bin limit
Enforce the 200-outcome limit server-side in QuestionWriteSerializer.validate()
to prevent bypassing the frontend validation via direct API calls.
Co-authored-by: Sylvain <SylvainChevalier@users.noreply.github.com>1 parent 9f7e0ab commit 696aa07
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
220 | 231 | | |
221 | 232 | | |
222 | 233 | | |
| |||
0 commit comments