TypedStruct: allow validation entire collection field
Opened this issue · 0 comments
idanarye commented
When we add a validation - or any type of process function - on a collection field, the validation is per-item. We need to be able to validate/process the entire collection, allowing things like:
- Verifying that the collection is not empty
- Adding a maximum size
- Sorting a collection
- Checking for conflicts between items