graphql-api-0.4.0: GraphQL API

Safe HaskellNone
LanguageHaskell2010

GraphQL.Internal.Value.ToValue

Description

 
Synopsis

Documentation

class ToValue a where Source #

Turn a Haskell value into a GraphQL value.

Instances
ToValue Bool Source # 
Instance details

Defined in GraphQL.Internal.Value.ToValue

ToValue Double Source # 
Instance details

Defined in GraphQL.Internal.Value.ToValue

ToValue Int32 Source # 
Instance details

Defined in GraphQL.Internal.Value.ToValue

ToValue Text Source # 
Instance details

Defined in GraphQL.Internal.Value.ToValue

ToValue List Source # 
Instance details

Defined in GraphQL.Internal.Value.ToValue

ToValue String Source # 
Instance details

Defined in GraphQL.Internal.Value.ToValue

ToValue Error Source # 
Instance details

Defined in GraphQL.Internal.Output

ToValue Response Source # 
Instance details

Defined in GraphQL.Internal.Output

ToValue a => ToValue [a] Source # 
Instance details

Defined in GraphQL.Internal.Value.ToValue

Methods

toValue :: [a] -> Value' ConstScalar Source #

ToValue a => ToValue (Maybe a) Source # 
Instance details

Defined in GraphQL.Internal.Value.ToValue

ToValue a => ToValue (NonEmpty a) Source # 
Instance details

Defined in GraphQL.Internal.Value.ToValue

ToValue (Object' ConstScalar) Source # 
Instance details

Defined in GraphQL.Internal.Value.ToValue

ToValue (Value' ConstScalar) Source # 
Instance details

Defined in GraphQL.Internal.Value.ToValue