ScalarDecoder

@implicitNotFound("Cannot find a ScalarDecoder for type ${A}.\n \nCaliban needs it to know how to decode a scalar of type ${A}.\n") trait ScalarDecoder[+A]

Typeclass that defines how to decode a scalar from a GraphQL response into a proper value of type A.

Typeclass that defines how to decode a scalar from a GraphQL response into a proper value of type A.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def decode(value: __Value): Either[DecodingError, A]