Many

harness.endpoint.spec.QueryCodec$.Many
See theMany companion object
final case class Many[A](key: String, schema: Schema[A]) extends WithKey[A, List[A]]

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait WithKey[A, List[A]]
trait QueryCodec[List[A]]
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[List[A]]]

Attributes

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

Attributes

Definition Classes

Inherited methods

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

Attributes

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

Attributes

Inherited from:
QueryCodec
final protected def decodeSingle(v: String): Either[DecodingFailure, A]

Attributes

Inherited from:
WithKey
final protected def fail(cause: Cause): Either[DecodingFailure, Nothing]

Attributes

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

Attributes

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

Attributes

Inherited from:
QueryCodec
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

Inherited fields

final lazy protected val querySchema: QuerySchema

Attributes

Inherited from:
WithKey
final lazy protected val schemaSource: SchemaSource

Attributes

Inherited from:
WithKey
final lazy override val schemas: NonEmptyList[List[QuerySchema]]

Attributes

Inherited from:
WithKey
final lazy val sources: NonEmptyList[List[SchemaSource]]

Attributes

Inherited from:
QueryCodec