This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
feature: traverse ValidationError.children #2328
Labels
flag: needs discussion
Issues which needs discussion before implementation.
type: feature
Issues related to new features.
Description
When a ValidationError is nested (its has children) producing an error message based on the children state requires some
traveseal function.
Proposed solution
Add a utility / a method on each ValidationError which performs a BFS traverse including the path
Note that the above function doesn't evaluate whether a proprety is number, and will produce
The text was updated successfully, but these errors were encountered: