Package dev. fritz2. validation
Types
Minimal interface for a validation message that exposes the model path for matching relevant sub-model-data and probably relevant UI element representation for showing the message and getting information about the valid state after validation process.
Functions
Convenience function to create a simple ValidatingStore without any handlers, etc. The created Store validates its model after every update automatically.
Convenience function for creating a Validation instance only accepting model-data by working on a MutableList receiver and using an Inspector for getting the right Inspector.path from sub-models next to the Inspector.data.
Convenience function for creating a Validation instance accepting model- and metadata by working on a MutableList receiver and using an Inspector for getting the right Inspector.path from sub-models next to the Inspector.data.
Properties
Returns true when the list contains no ValidationMessage which is marked with ValidationMessage.isError.