morpheus-graphql-app-0.20.1: Morpheus GraphQL App
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Morpheus.App

Documentation

data Config #

Constructors

Config 

Instances

Instances details
Show Config 
Instance details

Defined in Data.Morpheus.Types.Internal.Config

data App event (m :: Type -> Type) Source #

Constructors

App 

Fields

FailApp 

Fields

Instances

Instances details
Monad m => Semigroup (App e m) Source # 
Instance details

Defined in Data.Morpheus.App

Methods

(<>) :: App e m -> App e m -> App e m #

sconcat :: NonEmpty (App e m) -> App e m #

stimes :: Integral b => b -> App e m -> App e m #

RenderGQL (App e m) Source # 
Instance details

Defined in Data.Morpheus.App

Methods

renderGQL :: App e m -> Rendering #

data AppData event (m :: Type -> Type) s Source #

Constructors

AppData 

Instances

Instances details
RenderGQL (AppData e m s) Source # 
Instance details

Defined in Data.Morpheus.App

Methods

renderGQL :: AppData e m s -> Rendering #

runApp :: (MapAPI a b, Monad m) => App e m -> a -> m b Source #

withDebugger :: App e m -> App e m Source #

class MapAPI a b where Source #

Methods

mapAPI :: Applicative m => (GQLRequest -> m GQLResponse) -> a -> m b Source #

Instances

Instances details
MapAPI ByteString ByteString Source # 
Instance details

Defined in Data.Morpheus.App.MapAPI

MapAPI ByteString ByteString Source # 
Instance details

Defined in Data.Morpheus.App.MapAPI

MapAPI GQLRequest GQLResponse Source # 
Instance details

Defined in Data.Morpheus.App.MapAPI

MapAPI Text Text Source # 
Instance details

Defined in Data.Morpheus.App.MapAPI

Methods

mapAPI :: Applicative m => (GQLRequest -> m GQLResponse) -> Text -> m Text Source #

MapAPI Text Text Source # 
Instance details

Defined in Data.Morpheus.App.MapAPI

Methods

mapAPI :: Applicative m => (GQLRequest -> m GQLResponse) -> Text -> m Text Source #