validasi library

Classes

FieldDescriptor<T, V>
A descriptor for a single field on a typed model T.
Validasi
ValidasiField<T, V>
A FieldDescriptor that can validate its own values.
ValidasiFieldReader<T>
Reads the current value of a ValidasiField from a typed model context.
ValidasiResult<T>
ValidasiSchema<T>
Allocates a typed model T from a ValidasiFieldReader.
ValidationError

Functions

groupErrorsByPath(List<ValidationError> errors) Map<String, List<ValidationError>>
Groups a list of ValidationErrors by their first path segment.