graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.Backends.DataConnector.Agent.Client

Documentation

newtype AgentClientT m a Source #

Instances

Instances details
MonadError e m => MonadError e (AgentClientT m) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Agent.Client

Methods

throwError :: e -> AgentClientT m a #

catchError :: AgentClientT m a -> (e -> AgentClientT m a) -> AgentClientT m a #

Monad m => Monad (AgentClientT m) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Agent.Client

Methods

(>>=) :: AgentClientT m a -> (a -> AgentClientT m b) -> AgentClientT m b #

(>>) :: AgentClientT m a -> AgentClientT m b -> AgentClientT m b #

return :: a -> AgentClientT m a #

Functor m => Functor (AgentClientT m) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Agent.Client

Methods

fmap :: (a -> b) -> AgentClientT m a -> AgentClientT m b #

(<$) :: a -> AgentClientT m b -> AgentClientT m a #

Applicative m => Applicative (AgentClientT m) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Agent.Client

Methods

pure :: a -> AgentClientT m a #

(<*>) :: AgentClientT m (a -> b) -> AgentClientT m a -> AgentClientT m b #

liftA2 :: (a -> b -> c) -> AgentClientT m a -> AgentClientT m b -> AgentClientT m c #

(*>) :: AgentClientT m a -> AgentClientT m b -> AgentClientT m b #

(<*) :: AgentClientT m a -> AgentClientT m b -> AgentClientT m a #

MonadIO m => MonadIO (AgentClientT m) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Agent.Client

Methods

liftIO :: IO a -> AgentClientT m a #

(MonadIO m, MonadTrace m, MonadError QErr m) => RunClient (AgentClientT m) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Agent.Client

Methods

runRequestAcceptStatus :: Maybe [Status] -> Request -> AgentClientT m Response

throwClientError :: ClientError -> AgentClientT m a

MonadTrace m => MonadTrace (AgentClientT m) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Agent.Client

runRequestAcceptStatus' :: (MonadIO m, MonadTrace m, MonadError QErr m) => Maybe [Status] -> Request -> AgentClientT m Response Source #