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

Data.Morpheus

Description

Build GraphQL APIs with your favorite functional language!

Synopsis

Documentation

interpreter :: (MapAPI a b, RootResolverConstraint m e query mut sub) => RootResolver m e query mut sub -> a -> m b Source #

main query processor and resolver

debugInterpreter :: (MapAPI a b, RootResolverConstraint m e query mut sub) => RootResolver m e query mut sub -> a -> m b Source #

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

Instances

Instances details
Monad m => Semigroup (App e m) 
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) 
Instance details

Defined in Data.Morpheus.App

Methods

renderGQL :: App e m -> Rendering #

deriveApp :: DeriveApp f m event qu mu su => f m event qu mu su -> App event m Source #

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

withDebugger :: forall e (m :: Type -> Type). App e m -> App e m #