Johann Pardanaud
Johann Pardanaud
Linking to the API reference is not enough because all the constraints are under the same package, its a mess to explore. We should do like [Symfony](https://symfony.com/doc/current/reference/constraints.html) or [Laravel](https://laravel.com/docs/10.x/validation#available-validation-rules), and...
It could be useful to transform a value before validating it, for example: ```kotlin Validator { this.map { it.trim('.') }.isNotBlank() } ``` By "transforming" the value, the path remains the...
We could provide some conditional helpers : - `ifNotNull` - `ifInstanceOf` Instead of: ```kotlin if (prop.unwrap() != null) prop { // this: Validatable constrain { it?.someBool == true } }...
- we sould ignore all private/protected properties - we should generate accessors for internal/public properties - a property can be public in a private class, we should be careful with...
The `` tag wasn't properly styled under a Dropdown component. ```html Some label Select the options you want… Here is a small description yo help you understand what this dropdown...
automatic payload + query validation add the plugin to the registry: https://blog.jetbrains.com/kotlin/2024/04/the-ktor-plugin-registry/