morpheus-graphql-client-0.12.0: Morpheus GraphQL Client

Safe HaskellNone
LanguageHaskell2010

Data.Morpheus.Client

Documentation

class Fetch a where Source #

Minimal complete definition

fetch

Associated Types

type Args a :: * Source #

Methods

__fetch :: (Monad m, Show a, ToJSON (Args a), FromJSON a) => String -> FieldName -> (ByteString -> m ByteString) -> Args a -> m (Either String a) Source #

fetch :: (Monad m, FromJSON a) => (ByteString -> m ByteString) -> Args a -> m (Either String a) Source #