IMapDecode

harness.endpoint.spec.QueryCodec$.IMapDecode
final case class IMapDecode[A, B](parent: QueryCodec[A], to: A => Either[String, B], from: B => A) extends QueryCodec[B]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait QueryCodec[B]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def decodeInternal(queryParams: Map[String, List[String]]): Either[DecodingFailure, Decoded[B]]

Attributes

Definition Classes
override def encode(o: B): Map[String, List[String]]

Attributes

Definition Classes

Inherited methods

final def ++[B](that: QueryCodec[B])(implicit z: Zip[B, B]): QueryCodec[Out]

Attributes

Inherited from:
QueryCodec
final def decode(queryParams: Map[String, List[String]]): Either[DecodingFailure, A]

Attributes

Inherited from:
QueryCodec
final def imap[B](to: B => B, from: B => B): QueryCodec[B]

Attributes

Inherited from:
QueryCodec
final def imapDecode[B](to: B => Either[String, B], from: B => B): QueryCodec[B]

Attributes

Inherited from:
QueryCodec
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy override val schemas: NonEmptyList[List[QuerySchema]]

Inherited fields

final lazy val sources: NonEmptyList[List[SchemaSource]]

Attributes

Inherited from:
QueryCodec