Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class ToValue a where
Documentation
class ToValue a where Source #
Turn a Haskell value into a GraphQL value.
toValue :: a -> Value' ConstScalar Source #
ToValue Bool Source # | |
ToValue Double Source # | |
ToValue Int32 Source # | |
ToValue Text Source # | |
ToValue List Source # | |
ToValue String Source # | |
ToValue Error Source # | |
ToValue Response Source # | |
ToValue a => ToValue [a] Source # | |
ToValue a => ToValue (Maybe a) Source # | |
ToValue a => ToValue (NonEmpty a) Source # | |
ToValue (Object' ConstScalar) Source # | |
ToValue (Value' ConstScalar) Source # | |