Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype AgentLicenseKey = AgentLicenseKey {}
- data AgentClientContext = AgentClientContext {}
- data AgentClientT m a
- runAgentClientT :: AgentClientT m a -> AgentClientContext -> m a
- capabilities :: (MonadIO m, MonadTrace m, MonadError QErr m) => AgentClientT m CapabilitiesResponse
- schema :: (MonadIO m, MonadTrace m, MonadError QErr m) => SourceName -> Config -> AgentClientT m SchemaResponse
- query :: (MonadIO m, MonadTrace m, MonadError QErr m) => SourceName -> Config -> QueryRequest -> AgentClientT m QueryResponse
- explain :: (MonadIO m, MonadTrace m, MonadError QErr m) => SourceName -> Config -> QueryRequest -> AgentClientT m ExplainResponse
- mutation :: (MonadIO m, MonadTrace m, MonadError QErr m) => SourceName -> Config -> MutationRequest -> AgentClientT m MutationResponse
Documentation
newtype AgentLicenseKey Source #
Auth Key provided to the GDC Agent in Request
headers.
data AgentClientContext Source #
data AgentClientT m a Source #
Instances
runAgentClientT :: AgentClientT m a -> AgentClientContext -> m a Source #
capabilities :: (MonadIO m, MonadTrace m, MonadError QErr m) => AgentClientT m CapabilitiesResponse Source #
schema :: (MonadIO m, MonadTrace m, MonadError QErr m) => SourceName -> Config -> AgentClientT m SchemaResponse Source #
query :: (MonadIO m, MonadTrace m, MonadError QErr m) => SourceName -> Config -> QueryRequest -> AgentClientT m QueryResponse Source #
explain :: (MonadIO m, MonadTrace m, MonadError QErr m) => SourceName -> Config -> QueryRequest -> AgentClientT m ExplainResponse Source #
mutation :: (MonadIO m, MonadTrace m, MonadError QErr m) => SourceName -> Config -> MutationRequest -> AgentClientT m MutationResponse Source #