Argument

case class Argument[+A](name: String, value: A)(encoder: ArgEncoder[A])

Represents an argument in a GraphQL query. Requires an encoder for the argument type.

Represents an argument in a GraphQL query. Requires an encoder for the argument type.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def toGraphQL(useVariables: Boolean, variables: Map[String, (__Value, String)]): (String, Map[String, (__Value, String)])

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product