You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When defining custom validation logic with `Schema.filter`, you can precisely pinpoint where an error occurred within nested structures by specifying a nested path.
"message": "Discount can only be applied if base price is at least 50."
290
+
}
291
+
]
292
+
}
293
+
*/
294
+
```
295
+
221
296
## Multiple Error Reporting
222
297
223
298
The `Schema.filter` API supports reporting multiple validation issues at once, which is especially useful in scenarios like form validation where several checks might fail simultaneously.
0 commit comments