QueryParamsSchemaOps

zio.http.schema.QueryParamsSchemaOps
final class QueryParamsSchemaOps(qp: QueryParams) extends AnyVal

Attributes

Source
QueryParamsSchemaOps.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def query[T](key: String)(implicit schema: Schema[T]): Either[QueryParamError, T]

Attributes

Source
QueryParamsSchemaOps.scala
def queryAll[T](key: String)(implicit schema: Schema[T]): Either[QueryParamError, Chunk[T]]

Attributes

Source
QueryParamsSchemaOps.scala
def queryOrElse[T](key: String, default: => T)(implicit schema: Schema[T]): T

Attributes

Source
QueryParamsSchemaOps.scala