WithKey

harness.endpoint.spec.QueryCodec$.WithKey
sealed trait WithKey[A, B] extends QueryCodec[B]

Attributes

Graph
Supertypes
trait QueryCodec[B]
class Object
trait Matchable
class Any
Known subtypes
class Many[A]
class ManyNonEmpty[A]
class Optional[A]
class Required[A]

Members list

Value members

Concrete methods

final protected def decodeSingle(v: String): Either[DecodingFailure, A]
final protected def fail(cause: Cause): Either[DecodingFailure, Nothing]

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
def decodeInternal(queryParams: Map[String, List[String]]): Either[DecodingFailure, Decoded[A]]

Attributes

Inherited from:
QueryCodec
def encode(o: B): Map[String, List[String]]

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

Abstract fields

val key: String
val schema: Schema[A]

Concrete fields

final lazy protected val querySchema: QuerySchema
final lazy protected val schemaSource: SchemaSource
final lazy override val schemas: NonEmptyList[List[QuerySchema]]

Inherited fields

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

Attributes

Inherited from:
QueryCodec