QueryParamDecoder

Type class defining how to decode a QueryParameterValue into a T

See also

QueryParamCodecLaws

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def decode(value: QueryParameterValue): ValidatedNel[ParseFailure, T]

Concrete methods

def emap[U](f: T => Either[ParseFailure, U]): QueryParamDecoder[U]

Validate the currently parsed value a function to Either[ParseFailure, *].

Validate the currently parsed value a function to Either[ParseFailure, *].

def emapValidatedNel[U](f: T => ValidatedNel[ParseFailure, U]): QueryParamDecoder[U]

Validate the currently parsed value using a function to ValidatedNel[ParseFailure, *].

Validate the currently parsed value using a function to ValidatedNel[ParseFailure, *].

def map[U](f: T => U): QueryParamDecoder[U]

QueryParamDecoder is a covariant functor.

QueryParamDecoder is a covariant functor.

def orElse[U >: T](qpd: QueryParamDecoder[U]): QueryParamDecoder[U]

Use another decoder if this one fails.

Use another decoder if this one fails.