FieldValidator

trait FieldValidator[C, A, T]

Construct aiming at facilitate the application of Refinements on fields, as it's made tricky due to the GADT nature of fields.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def apply[S](field: SchemaField[S, A], constraint: Simple[C, T]): SchemaField[S, A]