succeed

kreuzberg.extras.forms.Validator$.succeed$
case object succeed extends Validator[Any]

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Validator[Any]
class Object
trait Matchable
class Any
Show all
Self type
succeed.type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Value members

Concrete methods

override def chain[U](other: Validator[U]): Validator[U]

Chains multiple validators.

Chains multiple validators.

Attributes

Definition Classes
override def validate(value: Any): Option[ValidationError]

Validate some value, returns list of violations.

Validate some value, returns list of violations.

Attributes

Definition Classes

Inherited methods

def contraMap[U](f: U => Any): Validator[U]

Contramaps

Contramaps

Attributes

Inherited from:
Validator
def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def validated[U](value: U): Either[Error, _]

Attributes

Inherited from:
Validator