Arg

gql.Arg
See theArg companion object
final case class Arg[+A](impl: FreeApply[Impl, ValidatedNec[String, A]])

A small free algebra for combining arguments and decoding them. ArgDecoder can trivially be lifted into Arg with loss of field-level information.

Note that Arg must be non-empty, and therefore it does not form an cats.Applicative, but instead it forms cats.Apply.

Attributes

Companion
object
Source
Arg.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def emap[B](f: A => Either[String, B]): Arg[B]

Attributes

Source
Arg.scala
def entries: Type[ArgValue[_]]

Attributes

Source
Arg.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product