api

http4k / org.http4k.lens / Validator

Validator

enum class Validator (source)

Runs through a list of lenses and extracts the values from each one, collecting the errors

Enum Values

Name Summary
Strict  
Feedback  
Ignore  

Functions

Name Summary
invoke operator fun <T : Any> invoke(entity: T, vararg lenses: LensExtractor<T, *>): List<Failure>

Extension Functions

Name Summary
with fun <T> T.with(vararg modifiers: (T) -> T): T