Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
ConnectionTemplate
This module defines the needed types/functions for implementing the metadata API `backend_test_connection_template`.
Synopsis
- data TestConnectionTemplate b = TestConnectionTemplate {}
- runTestConnectionTemplate :: forall b m. (MonadError QErr m, CacheRM m, Backend b, MetadataM m) => TestConnectionTemplate b -> m EncJSON
- newtype ResolvedConnectionTemplateWrapper b = ResolvedConnectionTemplateWrapper {}
- newtype BackendResolvedConnectionTemplate = BackendResolvedConnectionTemplate {}
Documentation
data TestConnectionTemplate b Source #
The input type for the metadata API `backend_test_connection_template`
Instances
Backend b => FromJSON (TestConnectionTemplate b) Source # | |
Defined in Hasura.RQL.DDL.ConnectionTemplate parseJSON :: Value -> Parser (TestConnectionTemplate b) Source # parseJSONList :: Value -> Parser [TestConnectionTemplate b] Source # |
runTestConnectionTemplate :: forall b m. (MonadError QErr m, CacheRM m, Backend b, MetadataM m) => TestConnectionTemplate b -> m EncJSON Source #
Resolver for the metadata API `backend_test_connection_template`
newtype ResolvedConnectionTemplateWrapper b Source #