Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data GQLRequest = GQLRequest {}
- data GQLResponse
- = Data ValidValue
- | Errors [GQLError]
- data JSONResponse a = JSONResponse {
- responseData :: Maybe a
- responseErrors :: Maybe [GQLError]
- renderResponse :: Result e ValidValue -> GQLResponse
- class MapAPI a where
- mapAPI :: Applicative m => (GQLRequest -> m GQLResponse) -> a -> m a
Documentation
data GQLRequest Source #
GraphQL HTTP Request Body
Instances
data GQLResponse Source #
GraphQL Response
Instances
data JSONResponse a Source #
JSONResponse | |
|
Instances
renderResponse :: Result e ValidValue -> GQLResponse Source #
mapAPI :: Applicative m => (GQLRequest -> m GQLResponse) -> a -> m a Source #
Instances
MapAPI ByteString Source # | |
Defined in Data.Morpheus.Types.IO mapAPI :: Applicative m => (GQLRequest -> m GQLResponse) -> ByteString -> m ByteString Source # | |
MapAPI ByteString Source # | |
Defined in Data.Morpheus.Types.IO mapAPI :: Applicative m => (GQLRequest -> m GQLResponse) -> ByteString -> m ByteString Source # | |
MapAPI Text Source # | |
Defined in Data.Morpheus.Types.IO mapAPI :: Applicative m => (GQLRequest -> m GQLResponse) -> Text -> m Text Source # | |
MapAPI Text Source # | |
Defined in Data.Morpheus.Types.IO mapAPI :: Applicative m => (GQLRequest -> m GQLResponse) -> Text -> m Text Source # |